Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vimrc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Murukesh Mohanan
vimrc
Commits
27ced196
Commit
27ced196
authored
May 07, 2016
by
Murukesh Mohanan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
js -> javascript
parent
c52de7b4
Pipeline
#763
skipped
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
vimrc
vimrc
+8
-2
No files found.
vimrc
View file @
27ced196
...
...
@@ -55,6 +55,8 @@ set isfname-==
set display+=lastline
set undofile
set undodir=$HOME/.vim/undo
set sessionoptions-=options
set sessionoptions+=winpos,winsize
let g:tex_flavor = "latex"
...
...
@@ -130,12 +132,12 @@ Plug 'tpope/vim-fugitive'
Plug 'tomasr/molokai'
Plug 'ctrlpvim/ctrlp.vim'
Plug 'gabrielelana/vim-markdown', {'for': 'markdown'}
Plug 'majutsushi/tagbar', {'for': ['cpp', 'c', 'go', 'sh', 'j
s
']}
Plug 'majutsushi/tagbar', {'for': ['cpp', 'c', 'go', 'sh', 'j
avascript
']}
Plug 'godlygeek/tabular'
if executable('cmake')
" YCM command lifted from vim-plug readme
Plug 'Valloric/YouCompleteMe', { 'do': YCMInstallCmd(), 'for': ['cpp', 'c', 'sh', 'j
s
', 'vim', 'tex'] }
Plug 'Valloric/YouCompleteMe', { 'do': YCMInstallCmd(), 'for': ['cpp', 'c', 'sh', 'j
avascript
', 'vim', 'tex'] }
autocmd! User YouCompleteMe if !has('vim_starting') | call youcompleteme#Enable() | endif
endif
if executable('go')
...
...
@@ -172,6 +174,7 @@ colorscheme molokai
highlight Normal ctermbg=none
highlight NonText ctermbg=none
highlight Visual ctermbg=DarkGrey
set cursorline
" From http://vi.stackexchange.com/questions/258/
autocmd BufWritePre *.sh,*.py if !filereadable(expand('%')) | let b:is_new = 1 | endif
...
...
@@ -200,6 +203,9 @@ let g:ctrlp_prompt_mappings = {
\ }
let g:ctrlp_max_depth = 40
let g:ctrlp_max_files = 10000
let g:ctrlp_custom_ignore = {
\ 'dir': '\v[\/](plugged|undo|view|\.git)$'
\ }
let g:DiffColors = 100
let g:DiffUnit = "Word3"
let g:DiffUpdate = 1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment