" window "------------------------------------------------------------------------------- " Split window nmap ss :splitw nmap sv :vsplitw " Move window "nmap w "map s h "map s k "map s j "map s l map sh h map sk k map sj j map sl l " Resize window nmap + nmap - nmap < nmap > " 插入模式移动光标 inoremap h inoremap j inoremap k inoremap l inoremap d nnoremap L $ nnoremap H ^ " 退出 " nmap w :wq " nmap q :wqa nmap q :BufferLineCycleNext:BufferLineCloseLeft nmap Q :qa! " 重新加载设置 map R :source ~/.config/nvim/init.vim " 全选 nmap ggG " 切换页面 " nmap :bprev " nmap :bnext nmap :BufferLineCyclePrev nmap :BufferLineCycleNext nmap 1g :BufferLineGoToBuffer 1 nmap 2g :BufferLineGoToBuffer 2 nmap 3g :BufferLineGoToBuffer 3 nmap 4g :BufferLineGoToBuffer 4 nmap 5g :BufferLineGoToBuffer 5 nmap 6g :BufferLineGoToBuffer 6 nmap 7g :BufferLineGoToBuffer 7 nmap 8g :BufferLineGoToBuffer 8 nmap 9g :BufferLineGoToBuffer 9 nnoremap :NvimTreeToggle " telescope nnoremap sf Telescope find_files nnoremap sw Telescope live_grep