Skip to content

Commit

Permalink
suda plugin
Browse files Browse the repository at this point in the history
add shortcuts
  • Loading branch information
vimkim committed Dec 2, 2023
1 parent fa2343d commit f5140fc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -321,9 +321,9 @@ map("", "K", "N", {})
map("", "L", "I", {})

map("i", ",s", "<ESC>", {})
map("", ",s", "<ESC>:w<cr>", {})
map("", ",q", "<ESC>:q<cr>", {})

map("", ",s", "<ESC>:w<CR>", {})
map("", ",q", "<ESC>:bd<cr>", {})
map("", "<c-q>", "<ESC>:q<cr>", {})

-- [[ Highlight on yank ]]
-- See `:help vim.highlight.on_yank()`
Expand Down
5 changes: 4 additions & 1 deletion lua/custom/plugins/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@
-- I promise not to create any merge conflicts in this directory :)
--
-- See the kickstart.nvim README for more information
return {}
return {
"lambdalisue/suda.vim"
}

0 comments on commit f5140fc

Please sign in to comment.