minor updates
This commit is contained in:
parent
a01c1bd837
commit
33eca41435
2 changed files with 7 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
@ -108,6 +108,9 @@ let g:WhichKeyDesc_Commentary = "<leader>gc Comment"
|
||||||
" 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)
|
||||||
|
|
|
||||||
|
|
@ -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({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue