1 Star 1 Fork 0

Hu_Stoking/ArchGitSynchronousRepo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
code_init.vim 1001 Bytes
一键复制 编辑 原始数据 按行查看 历史
Hu_Stoking 提交于 2024-09-27 03:55 . add code_init.vim.
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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hustoking/arch-git-synchronous-repo.git
git@gitee.com:hustoking/arch-git-synchronous-repo.git
hustoking
arch-git-synchronous-repo
ArchGitSynchronousRepo
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385