当前位置:网站首页>VIM configuration
VIM configuration
2022-07-22 20:34:00 【DmrForever】
Record ~/.vimrc Profile contents :
Plug in tool selection vim-plug
set number
syntax on
colorscheme hybrid
let mapleader=','
inoremap <leader>w <Esc>:w<cr>
inoremap jj <Esc>
inoremap <C-o> <Esc>o
inoremap <C-l> <Right>
inoremap <C-h> <Left>
inoremap <C-k> <Up>
inoremap <C-j> <Down>
inoremap <C-b> <PageUp>
inoremap <C-f> <PageDown>
" Specify a directory for plugins
" - For Neovim: stdpath('data') . '/plugged'
" - Avoid using standard Vim directory names like 'plugin'
call plug#begin('~/.vim/plugged')
Plug 'mhinz/vim-startify'
Plug 'preservim/nerdtree'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'Yggdroot/indentLine'
Plug 'w0ng/vim-hybrid'
Plug 'kien/ctrlp.vim'
Plug 'tpope/vim-surround'
call plug#end()
" nerdtree settings
nnoremap <leader>f :NERDTreeFind<cr>
nnoremap <leader>t :NERDTreeToggle<cr>
" set width
let NERDTreeWinSize=31
" show hidden files
let NERDTreeShowHidden=1
" not show files listed
let NERDTreeIgnore= [
\ '\.git$', '\.hg$', '\.svn$', '\.stversions$', '\.pyc$', '\.pyo$', '\.swp$',
\ '\.DS_Store$', '\.sass-cache$', '__pycache__$', '\.egg-info$', '\.ropeproject$',
\ ]
let g:ctrlp_map = '<c-p>'
边栏推荐
- redission分布式锁种类
- 【面试:基础篇03:选择排序】
- Canny edge detection
- Exclusive interview with Huang Hui, a scholar of women in AI: dream of drawing shapes and find the door to breakthrough
- 二分查找(递归函数)
- 《强化学习周刊》第39期:近似最优深度、多智能体广义、角色动画强化学习
- LeetCode32——next permutation
- 她力量系列三丨把握当下,坚持热爱,与食物图像识别结缘的科研之路
- Kubernetes基础入门
- LeetCode206——反转链表
猜你喜欢
配置属于自己的Vim-编辑器之神
Latex在VSCODE中编译报错`Recipe terminated with error. Retry building the project.
LeetCode206——反转链表
她力量系列五丨朱海一:以人为本,构建 AI 价值观
专访Women in AI学者黄惠:绘图形之梦,寻突破之门
Chen Danqi: I hope girls can get more opportunities, and the gap between boys and girls will gradually disappear
docker搭建mysql主从复制
【文献阅读与想法笔记14】Beyond a Gaussian Denoiser: Residual Learning of Deep CNN for Image Denoising
JSON output to file line by line in format
RAG小结
随机推荐
Unix C语言 POSIX 互斥锁 线程同步
Vscade turn off automatic updates
二分查找(递归函数)
1038 Recover the Smallest Number (30 分)
鏈棧實現(C語言)
Introduction to machine learning: support vector machine-6
本地镜像发布到私有库
LeetCode53——Maximum Subarray——3 different methods
Her power series III holds the current, adheres to love, and is tied to the scientific research road of food image recognition
7-2 rank a linked list (25 points)
Vscode关闭自动更新
Image quality assessment
LeetCode0003——longest substring without repeating characters——Sliding Window
Mise en œuvre de la pile de chaînes (langage c)
希尔排序(最小增量排序)
Analysis of class parameters in pytoch, source code analysis of in class member function.Parameters (), acquisition of parameter set, registration and assignment of parameters, source code analysis
sql优化技巧及注意事项
Kubernetes基础
修改QtCreater界面大小
1080 Graduate Admission (30 分)