-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc
More file actions
67 lines (58 loc) · 1.76 KB
/
vimrc
File metadata and controls
67 lines (58 loc) · 1.76 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
set shell=bash
set nocompatible " be iMproved, required
filetype off " required
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'tpope/vim-rails'
Plugin 'tpope/vim-haml'
Plugin 'scrooloose/nerdtree'
Plugin 'scrooloose/nerdcommenter'
Plugin 'bling/vim-airline'
Plugin 'tpope/vim-fugitive'
Plugin 'vim-airline/vim-airline-themes'
Plugin 'digitaltoad/vim-jade'
Plugin 'groenewege/vim-less'
Plugin 'godlygeek/tabular'
Plugin 'plasticboy/vim-markdown'
Plugin 'ervandew/supertab'
Plugin 'pangloss/vim-javascript' " JavaScript support
Plugin 'leafgarland/typescript-vim' " TypeScript syntax
Plugin 'maxmellon/vim-jsx-pretty' " JS and JSX syntax
Plugin 'jparise/vim-graphql' " GraphQL syntax
Plugin 'neoclide/coc.nvim', {'branch': 'release'}
" Plugin 'marijnh/tern_for_vim'
call vundle#end() " required
filetype plugin indent on " required
let g:useNinjaTagList=1
let NERDTreeShowHidden=1
let g:airline_powerline_fonts = 1
let g:airline#extensions#tabline#enabled = 1
let g:airline_theme='murmur'
let g:coc_global_extensions = ['coc-tsserver']
map <C-o> :NERDTreeToggle<CR>
set number
set cursorline
set mouse=a
syntax enable
set encoding=utf-8
"When editing a file, make screen display the name of the file you are editing
function! SetTitle()
if $TERM =~ "^screen"
let l:title = 'vi: ' . expand('%:t')
if (l:title != 'vi: __Tag_List__')
let l:truncTitle = strpart(l:title, 0, 15)
silent exe '!echo -e -n "\033k' . l:truncTitle . '\033\\"'
endif
endif
endfunction
" Run it every time we change buffers
autocmd BufEnter,BufFilePost * call SetTitle()
set ttimeoutlen=50
set laststatus=2
set tabstop=2
set softtabstop=2
set tw=80
set expandtab
set autoindent
set t_Co=256
colorscheme molokai