diff options
author | Joe <rbo@gmx.us> | 2023-12-21 17:07:02 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2023-12-21 17:07:02 +0100 |
commit | 62946031981efcaa0183e72899cc03a001ec932f (patch) | |
tree | 944dc218c10961ab99b465641c5eeee6aa783733 /.config/nvim/lua/bindings.lua | |
parent | up (diff) | |
download | dotfiles-bsd-62946031981efcaa0183e72899cc03a001ec932f.tar.gz dotfiles-bsd-62946031981efcaa0183e72899cc03a001ec932f.tar.bz2 dotfiles-bsd-62946031981efcaa0183e72899cc03a001ec932f.tar.xz dotfiles-bsd-62946031981efcaa0183e72899cc03a001ec932f.tar.zst dotfiles-bsd-62946031981efcaa0183e72899cc03a001ec932f.zip |
up
Diffstat (limited to '')
-rw-r--r-- | .config/nvim/lua/bindings.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/nvim/lua/bindings.lua b/.config/nvim/lua/bindings.lua index ef46c71..06022d1 100644 --- a/.config/nvim/lua/bindings.lua +++ b/.config/nvim/lua/bindings.lua @@ -16,6 +16,10 @@ vim.keymap.set('n', '*', '*zz', { noremap = true, silent = false }) vim.keymap.set('i', '<C-j>', 'pumvisible() ? "<C-n>" : "<C-j>"', { expr = true }) vim.keymap.set('i', '<C-k>', 'pumvisible() ? "<C-p>" : "<C-k>"', { expr = true }) vim.keymap.set('i', '<CR>', 'pumvisible() ? asyncomplete#close_popup() : "\\<cr>"', { expr = true }) +vim.keymap.set('n', '<F2>', vim.cmd.NvimTreeToggle, { noremap = true, silent = true }) +vim.keymap.set('n', '<F4>', ':make<space>-j5<space>', { noremap = true, silent = false }) +vim.keymap.set('n', '<F3>', vim.cmd.TroubleToggle, { noremap = true, silent = true }) +vim.keymap.set('n', '<F5>', vim.cmd.UndotreeToggle, { noremap = true, silent = true }) vim.g.floaterm_keymap_toggle = '<F1>' vim.g.floaterm_keymap_prev = '<F11>' vim.g.floaterm_keymap_next = '<F12>' |