Last active
December 18, 2023 17:58
-
-
Save AdamPelc/22c942e9eac1687c0b44ddfa93edd3f2 to your computer and use it in GitHub Desktop.
VIM Configuration
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 characters
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