config-files/.vimrc

59 lines
1.3 KiB
VimL
Raw Permalink Normal View History

2022-12-11 11:07:30 -05:00
syntax enable
filetype plugin indent on
2023-02-09 00:06:59 -05:00
set encoding=UTF-8
2022-12-11 11:07:30 -05:00
set smartindent
set tabstop=4
set shiftwidth=4
set expandtab
set copyindent
2023-04-20 23:24:37 -04:00
set number relativenumber
2022-12-11 11:07:30 -05:00
2023-02-08 11:16:16 -05:00
set laststatus=2
2023-02-08 23:54:12 -05:00
nnoremap <C-g> :NERDTreeToggle<CR>
2023-02-08 11:16:16 -05:00
"
call plug#begin(expand('~/.vim/plugged'))
" Color Scheme
Plug 'arcticicestudio/nord-vim'
Plug 'itchyny/lightline.vim'
Plug 'ap/vim-css-color'
Plug 'ycm-core/YouCompleteMe'
Plug 'preservim/nerdtree'
2023-02-08 23:20:18 -05:00
Plug 'tpope/vim-commentary'
Plug 'tpope/vim-surround'
2023-02-09 00:06:59 -05:00
Plug 'ryanoasis/vim-devicons'
2023-03-21 22:36:35 -04:00
Plug 'xuhdev/vim-latex-live-preview'
2023-04-14 12:48:43 -04:00
Plug 'rust-lang/rust.vim'
2023-04-20 23:24:37 -04:00
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
2023-04-27 17:08:09 -04:00
Plug 'takac/vim-hardtime'
2023-10-17 13:13:08 -04:00
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'github/copilot.vim'
2023-02-08 11:16:16 -05:00
call plug#end()
2022-12-11 11:07:30 -05:00
2023-02-08 11:16:16 -05:00
colorscheme nord
let g:lightline = {
\ 'colorscheme': 'nord',
\ }
2023-03-21 22:36:35 -04:00
" vim-laxet-live-preview settings
autocmd Filetype tex setl updatetime=1
let g:livepreview_previewer = 'zathura'
2023-04-27 17:08:09 -04:00
let g:hardtime_default_on = 1
let g:copilot_enable = 1
let g:copilot_filetypes = {
\ 'python': v:true,
\ 'c': v:true,
\ 'cpp': v:true,
\ 'java': v:true,
\ 'javascript': v:true,
\ 'typescript': v:true,
\ 'go': v:true,
\ 'rust': v:true,
\ 'html': v:true,
\ 'css': v:true,
\ 'perl': v:true
\}