Skip to content

Instantly share code, notes, and snippets.

@ErDmKo
Last active August 16, 2022 12:56
Show Gist options
  • Save ErDmKo/7d355a62479385b5bfa1 to your computer and use it in GitHub Desktop.
Save ErDmKo/7d355a62479385b5bfa1 to your computer and use it in GitHub Desktop.
vim settings
colorscheme desert
set smartindent
set tabstop=4
set ruler
set nu
syntax on
set backupcopy=yes
set shiftwidth=4
set laststatus=2
set expandtab
if has('vim_starting')
set backupdir=$HOME/.cache/vim/backup
set backup
set backupskip+=svn-commit.tmp,svn-commit.[0-9]*.tmp
set directory=/tmp
let g:SESSION_DIR = $HOME.'/.cache/vim/sessions'
if finddir(&backupdir) == ''
silent call mkdir(&backupdir, "p")
endif
if finddir(g:SESSION_DIR) == ''
silent call mkdir(g:SESSION_DIR, "p")
endif
endif
set nocompatible " be iMproved, required
filetype off " required
runtime macros/matchit.vim
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim' "PluginInstall
call vundle#end() " required
filetype plugin indent on " required
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment