Merge branch 'master' of https://github.com/mightypanders/dotfiles
This commit is contained in:
commit
1ffff0e180
@ -23,3 +23,4 @@ set.termguicolors = true
|
||||
set.matchpairs:append("<:>")
|
||||
set.completeopt = "menuone,noselect,preview"
|
||||
set.expandtab = true
|
||||
set.relativenumber = true
|
||||
|
@ -11,11 +11,15 @@ function imap(shortcut, command)
|
||||
map('i', shortcut, command)
|
||||
end
|
||||
|
||||
function vmap(shortcut, command)
|
||||
map('v', shortcut, command)
|
||||
end
|
||||
function xmap(shortcut, command)
|
||||
map('x', shortcut, command)
|
||||
end
|
||||
|
||||
nmap("<SPACE>","<Nop>")
|
||||
nmap("<Esc><Esc>", ":noh<cr>")
|
||||
|
||||
|
||||
nmap("<C-f>",":ToggleTerm direction=float<cr>")
|
||||
@ -36,3 +40,5 @@ nmap("<leader>r",":NvimTreeRefresh<cr>")
|
||||
nmap("<leader>n",":NvimTreeToggle<cr>")
|
||||
|
||||
nmap("<leader>zn","zf%")
|
||||
nmap("<leader>y",'\"+y')
|
||||
vmap("<leader>y",'\"+y')
|
||||
|
Loading…
Reference in New Issue
Block a user