🔧 Updated neovim config
This commit is contained in:
parent
8a606e9547
commit
feac401b25
1 changed files with 4 additions and 0 deletions
|
|
@ -96,6 +96,10 @@ vim.cmd([[nnoremap lsp :silent :LspRestart]])
|
||||||
--toggle autocompletion
|
--toggle autocompletion
|
||||||
vim.cmd([[nnoremap cmp :silent lua SetAutoCmp(Mode)]])
|
vim.cmd([[nnoremap cmp :silent lua SetAutoCmp(Mode)]])
|
||||||
|
|
||||||
|
-- SudaWrite
|
||||||
|
-- vim.cmd([[nnoremap sw :SudaWrite]])
|
||||||
|
vim.keymap.set("n", "<leader>sw", ":SudaWrite")
|
||||||
|
|
||||||
-- appends backslash to end of specified number of lines (min 2)
|
-- appends backslash to end of specified number of lines (min 2)
|
||||||
-- usage: 4<leader>b will append a backslash to the end of 4 lines
|
-- usage: 4<leader>b will append a backslash to the end of 4 lines
|
||||||
-- note: useful for grabbing code snippets for chatting with codellama in terminal
|
-- note: useful for grabbing code snippets for chatting with codellama in terminal
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue