minor updates

This commit is contained in:
Alexander Navarro 2025-06-02 10:07:25 -04:00
parent a01c1bd837
commit e01cd5110c
2 changed files with 15 additions and 6 deletions

View file

@ -4,7 +4,7 @@
" Find more examples here: https://jb.gg/share-ideavimrc " Find more examples here: https://jb.gg/share-ideavimrc
" UI/UX " UI/UX
set scrolloff=15 set scrolloff=10
set autoindent set autoindent
set relativenumber set relativenumber
set showcmd set showcmd
@ -88,6 +88,10 @@ let g:WhichKeyDesc_Find_Files = "<leader>ff Files"
nmap <leader>fr <Action>(RecentFiles) nmap <leader>fr <Action>(RecentFiles)
let g:WhichKeyDesc_Find_Recents = "<leader>fr Recent" let g:WhichKeyDesc_Find_Recents = "<leader>fr Recent"
nmap <leader>fa <Action>(GotoAction)
nmap <leader>fl <Action>(GotoSymbol)
"" code jump "" code jump
" nmap gd <Action>(GotoSuperMethod) " nmap gd <Action>(GotoSuperMethod)
" nmap gD <Action>(GotoDeclaration) " nmap gD <Action>(GotoDeclaration)
@ -104,10 +108,13 @@ let g:WhichKeyDesc_Commentary = "<leader>gc Comment"
" nmap gco o<Action>(CommentByLineComment)<ESC> " nmap gco o<Action>(CommentByLineComment)<ESC>
" nmap gcO O<Action>(CommentByLineComment)<ESC> " nmap gcO O<Action>(CommentByLineComment)<ESC>
" nmap <leader>lf <Action>(ReformatCode) nmap <leader>lf <Action>(ReformatCode)
" vmap <leader>lf <Action>(ReformatCode)<ESC> vmap <leader>lf <Action>(ReformatCode)<ESC>
nmap <leader>lr <Action>(RenameElement) nmap <leader>lr <Action>(RenameElement)
" Actions
nmap <leader>ps <Action>(QuickList.SSH Actions)
"" git operation "" git operation
nmap <leader>gt <Action>(ActivateCommitToolWindow) nmap <leader>gt <Action>(ActivateCommitToolWindow)
" nmap <leader>gC <Action>(Vcs.ShowTabbedFileHistory) " nmap <leader>gC <Action>(Vcs.ShowTabbedFileHistory)
@ -118,9 +125,8 @@ nmap <leader>gR <Action>(ChangesView.Revert)
"" tabs "" tabs
nmap H <Action>(PreviousTab) nmap H <Action>(PreviousTab)
nmap L <Action>(NextTab) nmap L <Action>(NextTab)
" nmap <leader>bc <Action>(CloseAllEditorsButActive) nmap <leader>bc <Action>(CloseContent)
" nmap <leader>bC <Action>(CloseAllEditors) nmap <leader>bC <Action>(CloseAllEditors)
" nmap <leader>c <Action>(CloseContent)
"" panels "" panels
nmap <C-h> <C-w>h nmap <C-h> <C-w>h

View file

@ -130,6 +130,8 @@ vim.filetype.add({
log = "log", log = "log",
conf = "conf", conf = "conf",
env = "dotenv", env = "dotenv",
yml = 'yaml.ansible',
yaml = 'yaml.ansible',
}, },
-- Detect and apply filetypes based on the entire filename -- Detect and apply filetypes based on the entire filename
filename = { filename = {
@ -156,6 +158,7 @@ vim.lsp.enable({
"pyright", "pyright",
"ruff", "ruff",
"rust_analyzer", "rust_analyzer",
"ansiblels",
}) })
vim.diagnostic.config({ vim.diagnostic.config({