add new toggleterm interactions
This commit is contained in:
parent
9d5f4047ca
commit
9555ab88a1
@ -18,6 +18,12 @@ end
|
||||
nmap("<SPACE>","<Nop>")
|
||||
|
||||
|
||||
nmap("<C-f>",":ToggleTerm direction=float<cr>")
|
||||
imap("<C-f>",":ToggleTerm direction=float<cr>")
|
||||
|
||||
nmap("<C-l>",":ToggleTerm direction=horizontal size=10<cr>")
|
||||
imap("<C-l>",":ToggleTerm direction=horizontal size=10<cr>")
|
||||
|
||||
xmap("p",'\"_dP')
|
||||
nmap("<leader>fg", "<cmd>lua require('telescope.builtin').live_grep()<cr>")
|
||||
nmap("<leader>fb", "<cmd>lua require('telescope.builtin').buffers()<cr>")
|
||||
|
@ -1,7 +1,7 @@
|
||||
require"toggleterm".setup{
|
||||
open_mapping = [[<c-y>]],
|
||||
hide_numbers = true,
|
||||
direction = 'float',
|
||||
--direction = 'float',
|
||||
float_opts = {
|
||||
border = 'curved'
|
||||
},
|
||||
@ -9,3 +9,5 @@ require"toggleterm".setup{
|
||||
enabled = false
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user