remapping F1 to prev buffer in input mode
This commit is contained in:
parent
72e7f7e079
commit
d336c5d976
|
@ -32,6 +32,12 @@
|
||||||
<family>DejaVu Serif</family>
|
<family>DejaVu Serif</family>
|
||||||
</prefer>
|
</prefer>
|
||||||
</alias>
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Charter</family>
|
||||||
|
<prefer>
|
||||||
|
<family>DejaVu Serif</family>
|
||||||
|
</prefer>
|
||||||
|
</alias>
|
||||||
<alias>
|
<alias>
|
||||||
<family>serif</family>
|
<family>serif</family>
|
||||||
<prefer>
|
<prefer>
|
||||||
|
|
|
@ -14,6 +14,7 @@ vim.api.nvim_set_keymap('i', '<Down>', '<c-\\><c-o>gj', snoremap)
|
||||||
-- file navigation
|
-- file navigation
|
||||||
vim.api.nvim_set_keymap('n', '-', '<cmd>lua require("telescope").extensions.vinegar.file_browser()<cr>', noremap)
|
vim.api.nvim_set_keymap('n', '-', '<cmd>lua require("telescope").extensions.vinegar.file_browser()<cr>', noremap)
|
||||||
vim.api.nvim_set_keymap('n', '<F1>', '<cmd>b#<cr>', noremap)
|
vim.api.nvim_set_keymap('n', '<F1>', '<cmd>b#<cr>', noremap)
|
||||||
|
vim.api.nvim_set_keymap('i', '<F1>', '<cmd>b#<cr>', noremap)
|
||||||
vim.api.nvim_set_keymap('n', '<leader>-', '<cmd>lua require("telescope.builtin").find_files('..cwdopt..')<cr>', noremap)
|
vim.api.nvim_set_keymap('n', '<leader>-', '<cmd>lua require("telescope.builtin").find_files('..cwdopt..')<cr>', noremap)
|
||||||
vim.api.nvim_set_keymap('n', '_', '<cmd>lua require("telescope.builtin").buffers('..cwdopt..')<cr>', noremap)
|
vim.api.nvim_set_keymap('n', '_', '<cmd>lua require("telescope.builtin").buffers('..cwdopt..')<cr>', noremap)
|
||||||
vim.api.nvim_set_keymap('n', '<leader>gg', '<cmd>lua require("telescope.builtin").live_grep('..cwdopt..')<cr>', noremap)
|
vim.api.nvim_set_keymap('n', '<leader>gg', '<cmd>lua require("telescope.builtin").live_grep('..cwdopt..')<cr>', noremap)
|
||||||
|
|
Loading…
Reference in New Issue