mirror of
https://github.com/GRFreire/dotfiles.git
synced 2026-01-10 04:19:38 +00:00
add vimrc
This commit is contained in:
parent
e7bbdc4eb4
commit
0edf667621
45
.vimrc
Normal file
45
.vimrc
Normal file
@ -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
|
||||||
Loading…
Reference in New Issue
Block a user