首页 > 其他分享 >2022年10月9日20:33:18 pycharm vim配置

2022年10月9日20:33:18 pycharm vim配置

时间:2022-10-09 20:46:06浏览次数:64  
标签:10 set 20 33 RunOrRe nmap let WhichKeyDesc FindOrFormat

自己的配置

" ================================================================================================
" = 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

" ================================================================================================
" = No Leader Keymaps =====================================
" ================================================================================================
" 设置 jk 映射为 esc键
inoremap jk <ESC>

nmap ge <action>(GotoNextError)
nmap gm <action>(MethodUp)
nmap gi <action>(GotoImplementation)
" last changed in current buffer(file)
nmap ga '.



"快速切换到又字符位置的行首和行尾巴"
nmap L g_
nmap H ^
vmap L g_
vmap H ^;






" ================================================================================================
" = Leader Keymaps =====================================
" ================================================================================================
" leaderkey
let mapleader=" "

" ================================================================================================
" 

标签:10,set,20,33,RunOrRe,nmap,let,WhichKeyDesc,FindOrFormat
From: https://www.cnblogs.com/zhuoss/p/16773602.html

相关文章