diff options
| author | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-01-22 10:18:07 +0100 |
|---|---|---|
| committer | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-01-22 10:18:07 +0100 |
| commit | 5455aacdedfb2829f000b2f120a6d5194d1227f8 (patch) | |
| tree | ca73cfdf3b9106aab00c5acb3d239df61e9c43d9 /lua/alpha/keybindings.lua | |
| parent | bf157b642c2910abae1810c985817e42502000b5 (diff) | |
| download | nvim-conf-5455aacdedfb2829f000b2f120a6d5194d1227f8.tar.gz nvim-conf-5455aacdedfb2829f000b2f120a6d5194d1227f8.zip | |
feat: big change on the structure of the plugins, move several things to config dir
Diffstat (limited to 'lua/alpha/keybindings.lua')
| -rw-r--r-- | lua/alpha/keybindings.lua | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/lua/alpha/keybindings.lua b/lua/alpha/keybindings.lua deleted file mode 100644 index ca4dd3a..0000000 --- a/lua/alpha/keybindings.lua +++ /dev/null @@ -1,45 +0,0 @@ -local map = vim.keymap.set - -map("v", "<leader>p", '"_dp') - -map("n", "bd", ":bd!<CR>") - --- lists navigation -map("n", "<leader>j", ":cnext<CR>zz") -map("n", "<leader>k", ":cprev<CR>zz") -map("n", "<leader>i", ":lnext<CR>zz") -map("n", "<leader>o", ":lprev<CR>zz") -map("n", "<leader>cc", ":cclose<CR>") - --- quick split -map("n", "<leader>wsv", ":vsp<CR>") - --- tabulation -map("v", "<", "<gv") -map("v", ">", ">gv") - --- symbols to add undo points -local symbols = { ",", ".", "!", "?", "$", ">", "<" } -for _, symbol in pairs(symbols) do - map("i", symbol, symbol .. "<c-g>u") -end - --- search result focus -map("n", "n", "nzzzv") -map("n", "N", "Nzzzv") - --- join lines focus -map("n", "J", "mzJ`z") - --- Terminal -map("t", "<Esc><Esc>", "<C-\\><C-n>") -map("t", "<C-w>h", "<C-\\><C-n><C-w>h") -map("t", "<C-w>j", "<C-\\><C-n><C-w>j") -map("t", "<C-w>k", "<C-\\><C-n><C-w>k") -map("t", "<C-w>l", "<C-\\><C-n><C-w>l") - --- quick env file edit -map("n", "<leader>ee", ":vsp .env<CR>") - --- quick save and exec -map("n", "<leader><leader>x", require("alpha.utils").save_and_exec) |