Skip to content

Instantly share code, notes, and snippets.

@AdamPelc
Last active December 18, 2023 17:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AdamPelc/22c942e9eac1687c0b44ddfa93edd3f2 to your computer and use it in GitHub Desktop.
Save AdamPelc/22c942e9eac1687c0b44ddfa93edd3f2 to your computer and use it in GitHub Desktop.
VIM Configuration
set number
set hidden
set nocp
set grepprg=rg\ --vimgrep\ --smart-case\ --follow
set backspace=indent,eol,start
set tabstop=4
set shiftwidth=4
set expandtab
filetype plugin on
" Automatic installation for plug.vim
let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim'
if empty(glob(data_dir . '/autoload/plug.vim'))
silent execute '!curl -fLo '.data_dir.'/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
call plug#begin()
Plug 'junegunn/fzf.vim'
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'morhetz/gruvbox'
Plug 'gustafj/vim-ttcn'
call plug#end()
set background=dark
colorscheme gruvbox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment