mirror of
https://github.com/GRFreire/dotfiles.git
synced 2026-01-09 20:19:37 +00:00
63 lines
1.5 KiB
VimL
63 lines
1.5 KiB
VimL
set guifont=Cascadia\ Code\ 11
|
|
|
|
:set number
|
|
:set relativenumber
|
|
:set autoindent
|
|
:set expandtab
|
|
:set tabstop=4
|
|
:set shiftwidth=4
|
|
:set smarttab
|
|
:set softtabstop=4
|
|
:set ignorecase
|
|
:set smartcase
|
|
:set mouse=a
|
|
:set clipboard=unnamedplus
|
|
|
|
call plug#begin()
|
|
|
|
Plug 'ghifarit53/tokyonight-vim'
|
|
Plug 'sheerun/vim-polyglot'
|
|
Plug 'vim-airline/vim-airline'
|
|
Plug 'vim-airline/vim-airline-themes'
|
|
Plug 'preservim/nerdtree'
|
|
Plug 'Xuyuanp/nerdtree-git-plugin'
|
|
Plug 'ryanoasis/vim-devicons'
|
|
Plug 'tiagofumo/vim-nerdtree-syntax-highlight'
|
|
|
|
set encoding=UTF-8
|
|
|
|
call plug#end()
|
|
|
|
set background=dark
|
|
set termguicolors
|
|
|
|
let g:tokyonight_style = 'night'
|
|
let g:tokyonight_transparent_background = 1
|
|
let g:tokyonight_enable_italic = 1
|
|
colorscheme tokyonight
|
|
|
|
|
|
let g:airline_theme='tokyonight'
|
|
let g:airline_symbols_ascii = 1
|
|
|
|
autocmd BufEnter * lcd %:p:h
|
|
nnoremap <C-b> :NERDTreeToggle<CR>
|
|
|
|
let g:NERDTreeGitStatusUseNerdFonts = 1
|
|
|
|
" --- 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
|