Skip to content

hengzZ/my-vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 

Repository files navigation

my-vim

My study notes about Practical Vim - Edit Text at the Speed of Thought.

References:
https://github.com/yangyangwithgnu/use_vim_as_ide
https://github.com/nelstrom/dotfiles
https://github.com/VundleVim/Vundle.vim

Install

"set nocompatible " be iMproved, required
"filetype off " required

  • 注释掉

" 去除vi兼容
set nocompatible
" 开启文件类型侦测
filetype on
" 根据侦测到的不同类型加载对应的插件
filetype plugin on

" 让配置变更立即生效
if has("autocmd")
autocmd BufWritePost $MYVIMRC source $MYVIMRC
endif

  • 不带参数打开vim,输入命令 :PluginInstall

Change the Cap and Ctrl on Ubuntu

add the below command to ~/.bashrc

setxkbmap -option "ctrl:swapcaps"

About

my vim configuration

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published