代码拉取完成,页面将自动刷新
if exists('g:vscode')
" VSCode extension
else
" ordinary neovim
endif
" === My Default Configuration === "
let mapleader=" "
syntax on
set number
set encoding=utf-8
set expandtab
" high light search
set hlsearch
exec "nohlsearch"
set incsearch
set ignorecase
set smartcase
set scrolloff=5
" ========================= "
" === My own keyschange === "
" ========================= "
map s <nop>
map S :w<CR>
map Q :q<CR>
"=== Quickly Yank
map sc "+y
map sv "+p
noremap J 5j
noremap K 5k
noremap L 6l
noremap H 6h
noremap <C-j> M3jzz
noremap <C-k> M3kzz
noremap <LEADER><CR> :nohlsearch<CR>
nnoremap <silent> zc :call VSCodeNotify('editor.fold')<CR>
nnoremap <silent> zo :call VSCodeNotify('editor.unfold')<CR>
" ===Toggle Tag==="
nnoremap R gt
nnoremap E gT
augroup auto_switch_input
autocmd!
" 在离开插入模式时切换到英文输入法
autocmd InsertLeave * call system("im-select com.apple.keylayout.ABC")
augroup END
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。