Last active
March 30, 2025 19:50
-
-
Save victorgabrielbs/2c5c1139202790095e97fb3cc192154b to your computer and use it in GitHub Desktop.
.vimrc
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
call plug#begin() | |
Plug 'autozimu/LanguageClient-neovim', { | |
\ 'branch': 'next', | |
\ 'do': 'bash install.sh' | |
\ } | |
Plug 'vim-airline/vim-airline' | |
Plug 'Raimondi/delimitMate' | |
Plug 'powerman/vim-plugin-AnsiEsc' | |
Plug 'neoclide/coc.nvim', {'branch': 'release'} | |
Plug 'scrooloose/nerdtree' | |
"Plug 'elzr/vim-json' | |
Plug 'tpope/vim-commentary' | |
Plug 'ryanoasis/vim-devicons' | |
Plug 'prabirshrestha/vim-lsp' | |
Plug 'junegunn/fzf' | |
Plug 'junegunn/fzf.vim' | |
Plug 'pprovost/vim-ps1' | |
Plug 'vim-airline/vim-airline-themes' | |
Plug 'morhetz/gruvbox' | |
"Plug 'sheerun/vim-polyglot' | |
Plug 'MunifTanjim/nui.nvim' | |
"Plug 'ervandew/supertab' | |
Plug 'vim-scripts/asmx86_64' | |
Plug 'jiangmiao/auto-pairs' | |
"Plug 'github/copilot.vim' | |
Plug 'nvim-lua/plenary.nvim' | |
"Plug 'nvim-telescope/telescope.nvim' | |
Plug 'mattn/vim-lsp-settings' | |
Plug 'pearofducks/ansible-vim' | |
Plug 'preservim/nerdcommenter' | |
Plug 'vim-jp/vital.vim' | |
Plug 'vim-voom/voom' | |
Plug 'junegunn/vader.vim' | |
Plug 'dense-analysis/ale' | |
Plug 'honza/vim-snippets' | |
Plug 'kien/ctrlp.vim' | |
Plug 'vim-scripts/AutoComplPop' | |
Plug 'vim-scripts/bash-support.vim' | |
Plug 'vim-scripts/grep.vim' | |
Plug 'vim-scripts/vimwiki' | |
Plug 'vim-scripts/fakeclip' | |
"Plug 'vim-scripts/tSkeleton' | |
call plug#end() | |
colorscheme gruvbox | |
let g:gruvbox_contrast_dark = 'hard' | |
let g:airline_theme='simple' | |
let g:airline_section_x = '%{AirlineWordCount()}' | |
set mouse=a | |
set autoread | |
set magic | |
set nocompatible | |
set background=dark | |
set number | |
set encoding=utf-8 | |
set wildmenu | |
set ignorecase | |
set nobackup | |
set smartcase | |
set hlsearch | |
set incsearch | |
set hlsearch | |
set incsearch | |
set wildmode=full | |
set cursorline | |
set fileformat=unix | |
set smarttab | |
set softtabstop=2 | |
set tabstop=2 | |
set shiftwidth=2 | |
set scrolloff=1 | |
set showmatch | |
set autoindent | |
set clipboard^=unnamed | |
set ttyfast | |
filetype plugin on | |
filetype on | |
match StatusLineNC /\s\+$/ | |
"filetype plugin indent on | |
"syntax enable | |
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif | |
set shell=/bin/sh | |
autocmd BufWritePre * %s/\s\+$//e | |
function! AirlineWordCount() | |
let l:word_count = wordcount() | |
return 'Words: ' . l:word_count.words | |
endfunction | |
if executable('fish-lsp') | |
au User lsp_setup call lsp#register_server({ | |
\ 'name': 'fish-lsp', | |
\ 'cmd': {server_info->['fish-lsp', 'start']}, | |
\ 'allowlist': ['fish'], | |
\ }) | |
endif | |
if executable('bash-language-server') | |
au User lsp_setup call lsp#register_server({ | |
\ 'name': 'bash-language-server', | |
\ 'cmd': {server_info->['bash-language-server', 'start']}, | |
\ 'allowlist': ['sh', 'bash'], | |
\ }) | |
endif | |
nnoremap <C-S> :w<CR> " Ctrl+S salva o arquivo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment