Skip to content

Commit

Permalink
please iterm hotkeys wins in tmode
Browse files Browse the repository at this point in the history
  • Loading branch information
joelpalmer committed Dec 3, 2021
1 parent f556499 commit 4dd5220
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions public dots/vim-nvim/lua/joel/mappings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,8 @@ key_map("o", "<Del>", "<Esc>", { noremap = true })
key_map("c", "<Del>", "<C-C><Esc>", { noremap = true })
key_map("i", "<Del>", "<Esc>`^", { noremap = true })
key_map("t", "<Del>", "<C-\\><C-n>", { noremap = true })
-- please iTerm hotkey windows
key_map("t", "<Esc>", "<C-\\><C-n>", { noremap = true })

-- vsnip jump through snippets with <Tab>
key_map("i", "<Tab>", [[vsnip#jumpable(1) ? '<Plug>(vsnip-jump-next)' : '<Tab>']], { noremap = false, expr = true })
Expand Down

0 comments on commit 4dd5220

Please sign in to comment.