Created
March 1, 2019 17:48
-
-
Save shahzeb1/d056afb030f259352842edfa284d5b15 to your computer and use it in GitHub Desktop.
Revisions
-
shahzeb1 created this gist
Mar 1, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,51 @@ set nocompatible set autoindent filetype plugin indent on set tabstop=4 set shiftwidth=4 set expandtab set so=999 set number relativenumber syntax on set guifont=Fira\ Code:h18 "cursor shape: let &t_SI = "\<Esc>]50;CursorShape=1\x7" let &t_SR = "\<Esc>]50;CursorShape=2\x7" let &t_EI = "\<Esc>]50;CursorShape=0\x7" set softtabstop=4 " number of spaces in tab when editing set tabstop=4 " number of visual spaces per TAB set expandtab " tabs are spaces set lazyredraw " redraw only when we need to. set incsearch " search as characters are entered set hlsearch " highlight matches set colorcolumn=80 " draw a line on the 80th column augroup myCmds au! autocmd VimEnter * silent !echo -ne "\e[2 q" autocmd InsertEnter,InsertLeave * set cul! augroup END "aliases: map <Esc><Esc> :w<CR> map <C-h> :NERDTreeToggle<CR> map <C-d> :color dracula<CR> map <C-p> :CtrlP<CR> nnoremap <Space> i "plugins: call plug#begin() Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' } Plug 'vim-airline/vim-airline' Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } Plug 'dracula/vim', { 'as': 'dracula' } Plug 'tpope/vim-rails' Plug 'ctrlpvim/ctrlp.vim' Plug 'posva/vim-vue' Plug 'prettier/vim-prettier', { \ 'do': 'yarn install', \ 'for': ['javascript', 'typescript', 'css', 'less', 'scss', 'json', 'graphql', 'markdown', 'vue'] } call plug#end()