From 0edf66762148a2993868c7fd6b475b25464ccb8e Mon Sep 17 00:00:00 2001 From: Guilherme Rugai Freire <41879254+GRFreire@users.noreply.github.com> Date: Thu, 27 May 2021 11:25:54 -0300 Subject: [PATCH] add vimrc --- .vimrc | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .vimrc diff --git a/.vimrc b/.vimrc new file mode 100644 index 0000000..a9cc766 --- /dev/null +++ b/.vimrc @@ -0,0 +1,45 @@ +" ____ ____ _____ _ +" / ___| _ \| ___| __ ___(_)_ __ ___ +" | | _| |_) | |_ | '__/ _ \ | '__/ _ \ Guilherme Rugai Freire +" | |_| | _ <| _|| | | __/ | | | __/ https://grfreire.com +" \____|_| \_\_| |_| \___|_|_| \___| https://github.com/GRFreire +" + +set guifont=Fira\ Code\ Regular\ 11 + +:set number +:set autoindent +:set expandtab +:set tabstop=4 +:set shiftwidth=4 +:set smarttab +:set softtabstop=4 +:set mouse=a + +call plug#begin() + +Plug 'https://github.com/ap/vim-css-color' +Plug 'https://github.com/cocopon/iceberg.vim' + +set encoding=UTF-8 + +call plug#end() + +set background=dark +:colorscheme iceberg + +" --- Just Some Notes --- +" :PlugClean :PlugInstall +" ----------------------- + +if (has("nvim")) + "For Neovim 0.1.3 and 0.1.4 < https://github.com/neovim/neovim/pull/2198 > + let $NVIM_TUI_ENABLE_TRUE_COLOR=1 +endif + +"For Neovim > 0.1.5 and Vim > patch 7.4.1799 < https://github.com/vim/vim/commit/61be73bb0f965a895bfb064ea3e55476ac175162 > +"Based on Vim patch 7.4.1770 (`guicolors` option) < https://github.com/vim/vim/commit/8a633e3427b47286869aa4b96f2bfc1fe65b25cd > +" < https://github.com/neovim/neovim/wiki/Following-HEAD#20160511 > +if (has("termguicolors")) + set termguicolors +endif