Skip to content

Commit

Permalink
feat(nvim): add C-W shortcut for terminal mode
Browse files Browse the repository at this point in the history
  • Loading branch information
workflow committed Aug 26, 2024
1 parent 2df9bcc commit b09f734
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions home/neovim/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ in {
-- Terminal Mode shortcuts
vim.keymap.set('t', '<Esc>', '<C-\\><C-n>', { silent = true })
vim.keymap.set('t', '<C-w>', [[<C-\><C-n><C-w>]], { silent = true })
'';

extraPackages = with pkgs.unstable; [
Expand Down

0 comments on commit b09f734

Please sign in to comment.