" = Extensions =====================================
Plug 'tpope/vim-surround'
Plug 'preservim/nerdtree'
" = Basic settings =====================================
set clipboard+=unnamed
set ignorecase
set scrolloff=30
set history=200
set number
" set relativenumber
set incsearch
set hlsearch
" set keep-english-in-normal
set sneak
" = No Leader Keymaps =====================================
" 设置 jk 映射为 esc键
inoremap jk <ESC>
nmap gb <action>(Back)
nmap ge <action>(GotoNextError)
nmap gE <action>(GotoPreviousError)
nmap gm <action>(MethodUp)
nmap gM <action>(MethodDown)
nmap gi <action>(GotoImplementation)
" last changed in current buffer(file)
nmap ga '.
"快速切换tab页,这个我是模仿vimchrome的快捷键"
nmap J <action>(NextTab)
nmap K <action>(PreviousTab)
vmap J <action>(NextTab)
vmap K <action>(PreviousTab)
"快速切换到又字符位置的行首和行尾巴"
nmap L g_
nmap H ^
vmap L g_
vmap H ^
" = Leader Keymaps =====================================
let mapleader=" "
"
标签:10,set,23,nmap,30,RunOrRe,let,WhichKeyDesc,FindOrFormat
From: https://www.cnblogs.com/zhuoss/p/17756044.html