toggleterm fixes
This commit is contained in:
@ -6,6 +6,7 @@ local default_opts = { noremap = true, silent = true }
|
||||
|
||||
-- Fast saving with <leader> and s
|
||||
map('n', '<leader>s', ':w<CR>', default_opts)
|
||||
map('n', '<leader>a', ':w|:luafile %<CR>', default_opts)
|
||||
map('i', '<leader>s', '<C-c>:w<CR>', default_opts)
|
||||
|
||||
-- Move around splits using Ctrl + {h,j,k,l}
|
||||
@ -27,8 +28,9 @@ map('n', '<leader>r', ':tabclose<CR>', default_opts)
|
||||
-- Applications and Plugins shortcuts
|
||||
-----------------------------------------------------------
|
||||
|
||||
-- Open terminal
|
||||
-- map('n', '<C-t>', ':Term<CR>', { noremap = true })
|
||||
-- Open terminal as Float
|
||||
--map('n', '<c-o>', ':ToggleTerm dir=/Users/normrasmussen/ direction=float<CR>', default_opts)
|
||||
|
||||
-- Vista Shortcuts
|
||||
map('n', '<leader>v', ':Vista!!<CR>', default_opts) -- show Vista panel
|
||||
|
||||
|
||||
Reference in New Issue
Block a user