-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
35 lines (31 loc) · 934 Bytes
/
.vimrc
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
" Plugin Setup
call plug#begin('~/.vim/plugged')
Plug '2072/PHP-Indenting-for-VIm'
Plug 'editorconfig/editorconfig-vim'
Plug 'jistr/vim-nerdtree-tabs'
Plug 'noahfrederick/vim-composer'
Plug 'preservim/nerdtree'
Plug 'ryanoasis/vim-devicons'
Plug 'StanAngeloff/php.vim'
Plug 'tiagofumo/vim-nerdtree-syntax-highlight'
call plug#end()
let loaded_netrwPlugin = 1
let g:nerdtree_tabs_open_on_console_startup = 2
autocmd StdinReadPre * let s:std_in=1
" Preferences
filetype plugin indent on " use the file type plugins
syntax on " Syntax highlighting
set autoindent " Auto indenting
set cursorline " Color the cursorline
set encoding=UTF-8
set hidden
set mouse=a
set noerrorbells
set number nu " Line numbers
set smartindent " Smart indenting
set title
set visualbell
" Keyboard Shortcuts
map <C-n> :NERDTreeTabsToggle<CR>
" Console Commands
cmap w!! w !sudo tee % >/dev/null