Repository navigation
Expand file tree
/
Copy pathinit.vim.orig
More file actions
executable file
·105 lines (89 loc) · 2.48 KB
/
Copy pathinit.vim.orig
File metadata and controls
executable file
·105 lines (89 loc) · 2.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
"Specify a directory for plugins
" - For Neovim: ~/.local/share/nvim/plugged
" " - Avoid using standard Vim directory names like 'plugin'
call plug#begin('~/.local/share/nvim/plugged')
"
" " Make sure you use single quotes
"
" " Shorthand notation; fetches https://github.com/junegunn/vim-easy-align
" "code align
Plug 'junegunn/vim-easy-align'
"
" " Any valid git URL is allowed
Plug 'https://github.com/junegunn/vim-github-dashboard.git'
"
" " Multiple Plug commands can be written in a single line using |
" separators
"Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets'
"
" " On-demand loading
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
Plug 'tpope/vim-fireplace', { 'for': 'clojure' }
"
" " Using a non-master branch
"
" " Using a tagged release; wildcard allowed (requires git 1.9.2 or above)
"Plug 'fatih/vim-go', { 'tag': '*' }
"
" " Plugin options
"Plug 'nsf/gocode', { 'tag': 'v.20150303', 'rtp': 'vim' }
"
" " Plugin outside ~/.vim/plugged with post-update hook
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
"
" "Plugin airline
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
" Plugin jupytext
"Plug 'goerz/jupytext.vim'
" " Initialize plugin system
" Plugin ag.vim, same as ack,ctrlp,search file
Plug 'rking/ag.vim'
"colors
Plug 'nanotech/jellybeans.vim'
Plug 'tomasr/molokai'
Plug 'morhetz/gruvbox'
"indentLine, show the align line
Plug 'Yggdroot/indentLine'
"vim-signature , label function
Plug 'kshenoy/vim-signature'
"lastplace, join in the last change site
Plug 'farmergreg/vim-lastplace'
"coc.nvim
"Plug 'neoclide/coc.nvim', {'do': {-> coc#util#install()}}
"undotree, show the history of change
Plug 'mbbill/undotree'
"tagbar,show the code's all function or var
Plug 'majutsushi/tagbar'
" the diff tool to git show the change
Plug 'airblade/vim-gitgutter'
"quick annotate
Plug 'scrooloose/nerdcomenter'
call plug#end()
set hlsearch
" ag.vim
let g:ackprg = 'ag --vimgrep'
" NERDTree
map <C-t> :NERDTreeToggle<CR>
map si : set splitright<CR>:vsplit<CR>
"color
colorscheme molokai
let g:molokai_original = 1
let g:rehash256 = 1
"indentLine
let g:indentLine_char = '|'
let g:indentLine_enabled = 1
"global
set tabstop=4
set number
"coc.nvim
"autocmd FileType json syntax match Comment +\/\/.\+$+
"undotree
nnoremap <F7> :UndotreeToggle<cr>
set undofile "Maintain undo history between sessions"
if has("persistent_undo")
set undodir=$HOME/.local/share/nvim/undodir
set undofile
endif
"tagbar
nmap <F8> :TagbarToggle<CR>