Skip to content

Instantly share code, notes, and snippets.

@idursun
Last active May 26, 2017 14:00
Show Gist options
  • Save idursun/ceb9ca9d05a62d9a9e4619f0c5e81518 to your computer and use it in GitHub Desktop.
Save idursun/ceb9ca9d05a62d9a9e4619f0c5e81518 to your computer and use it in GitHub Desktop.
My Vim RC
set nocompatible " be iMproved
filetype off " required!
:syntax on
set encoding=utf-8
set relativenumber
set ignorecase
set smartcase
set tabstop=4
set shiftwidth=4
set expandtab
set guifont=Consolas:h10:cTURKISH
set smartindent
set autoindent
set number
set window=39
set lines=40
set columns=140
set nowrap
set hls
set ruler
set incsearch
set backspace=2
nnoremap <C-S-t> :FufFile<CR>
imap <C-s> <ESC>:w<CR>
colors evening
let mapleader=" "
map <leader>n :nohl<cr>
map <leader>p "*p
map <Leader>s :SyntasticToggleMode<CR>
vmap <C-c> <C-Ins>
set rtp+=$HOME/vimfiles
call plug#begin('$HOME/vimfiles/plugged/')
Plug 'L9'
Plug 'FuzzyFinder'
Plug 'vim-syntastic/syntastic'
Plug 'bling/vim-airline'
Plug 'tpope/vim-surround'
Plug 'tpope/vim-sensible'
Plug 'scrooloose/nerdtree'
Plug 'ervandew/supertab'
call plug#end()
filetype plugin indent on " required!
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 0
let g:syntastic_check_on_open = 0
let g:syntastic_check_on_wq = 0
let g:syntastic_enable_signs = 1
let g:syntastic_enable_balloons = 1
let g:syntastic_elm_checkers = ['elm_make']
let g:elm_syntastic_show_warnings = 1
let g:elm_format_autosave = 1
let g:neocomplete#enable_at_startup = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment