summaryrefslogtreecommitdiff
path: root/lua/user/keymaps.lua
diff options
context:
space:
mode:
authorVito G. Graffagnino <vito@graffagnino.xyz>2022-06-06 20:08:18 +0100
committerVito G. Graffagnino <vito@graffagnino.xyz>2022-06-06 20:08:18 +0100
commit6f6e018915ffec09e034cca2d7ca05e3ccd567c1 (patch)
tree4fbc12c9b0fb7055e220ac70065b06be085a7eea /lua/user/keymaps.lua
parentfcb8d1ea64a6b55c20b3b528e51cdd7160290b54 (diff)
Added a few keymaps (leader v to edit init.lua)
Reintroduced impatient plugin and added a few more lsp language settings
Diffstat (limited to 'lua/user/keymaps.lua')
-rw-r--r--lua/user/keymaps.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/lua/user/keymaps.lua b/lua/user/keymaps.lua
index 027d526..5b94186 100644
--- a/lua/user/keymaps.lua
+++ b/lua/user/keymaps.lua
@@ -36,7 +36,7 @@ keymap("n", "<S-l>", ":bnext<CR>", opts)
keymap("n", "<S-h>", ":bprevious<CR>", opts)
-- Insert --
--- Press jk fast to enter
+-- Press jk fast to enter normal mode
keymap("i", "jk", "<ESC>", opts)
-- Visual --
@@ -67,7 +67,6 @@ keymap("t", "<C-l>", "<C-\\><C-N><C-w>l", term_opts)
keymap("n", "<leader>e", ":NvimTreeToggle<cr>", opts)
keymap("n", "<leader>v", ":edit $MYVIMRC<cr>", opts)
keymap("n", "<leader>f", ":Format<cr>", opts)
--- keymap("n", "<leader>f", "<cmd>Telescope find_files<cr>", opts)
keymap("n", "<leader>f", "<cmd>lua require'telescope.builtin'.find_files(require('telescope.themes').get_dropdown({ previewer = false }))<cr>", opts)
keymap("n", "<c-t>", "<cmd>Telescope live_grep<cr>", opts)