Skip to content

Commit

Permalink
Less plugins and better configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
dheison0 committed Aug 8, 2023
1 parent 0cfac33 commit c1b377a
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 54 deletions.
29 changes: 8 additions & 21 deletions README.pt.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
# amazing-vimrc

Um pequeno conjunto de plugins e configurações para tornar o NeoVim mais
bonito e rápido na hora de desenvolver seus códigos usando o terminal.

![Captura de tela](screenshot.png)

Informações da captura de tela:

- Tema GTK/Konsole: [Dracula](https://github.com/dracula)
- Font: [FiraCode Nerd Font](https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/FiraCode)
- Sistema: Debian Bullseye
- DE: xfce
rápido e bonito na hora de desenvolver seus códigos usando o terminal.

![Captura de tela](https://imgur.com/xyZgGAT.png)

## Instalação/Atualização

Expand All @@ -26,14 +18,9 @@ Para atualizar os plugins é necessário rodar o comando :PlugUpdate no NeoVim

## Plugins do pacote

- [Vim-NumberToggle](https://github.com/jeffkreeftmeijer/vim-numbertoggle)
- [EditorConfig](https://github.com/editorconfig/editorconfig-vim)
- [AutoComplPop](https://github.com/vim-scripts/AutoComplPop)
- [DelimitMate](https://github.com/Raimondi/delimitMate)
- [CtrlP](https://github.com/ctrlpvim/ctrlp.vim)
- [Ag](https://github.com/rking/ag.vim)
- [Vim-Polyglot](https://github.com/sheerun/vim-polyglot)
- [Vim-Airline](https://github.com/vim-airline/vim-airline)
- [Purify](https://github.com/kyoz/purify)
- [Async.vim](https://github.com/prabirshrestha/async.vim)
- [Emmet-Vim](https://github.com/mattn/emmet-vim)
- [AutoComplPop](https://github.com/vim-scripts/AutoComplPop): Popup de auto complete;
- [DelimitMate](https://github.com/Raimondi/delimitMate): Fechamento de parênteses, aspas e outros;
- [Vim-Polyglot](https://github.com/sheerun/vim-polyglot): Suporte a mais linguagens de programação;
- [Async.vim](https://github.com/prabirshrestha/async.vim): Melhora no suporte de funcionamento assíncrono;
- [Aylin](https://github.com/AhmedAbdulrahman/vim-aylin): Tema escuro bonitinho;
- [LightLine.vim](https://github.com/itchyny/lightline.vim): Melhora na barra inferior de informações.
51 changes: 18 additions & 33 deletions init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
" Base Author: Gabriel (@foxx3r)
" Base Source: https://github.com/foxx3r/amazing-vimrc
"
" Fork: Dheisom (@dheisom)
" Fork Source: https://github.com/dheisom/amazing-vimrc
" Fork: Dheison (@dheison0)
" Fork Source: https://github.com/dheison0/amazing-vimrc

" LEADER KEY
let mapleader=","
Expand All @@ -25,21 +25,14 @@ endif

" Configure vim-plug
call plug#begin('~/.vim/bundle')
Plug 'jeffkreeftmeijer/vim-numbertoggle'
Plug 'editorconfig/editorconfig-vim'
Plug 'vim-scripts/AutoComplPop'
Plug 'Raimondi/delimitMate'
Plug 'ctrlpvim/ctrlp.vim'
Plug 'rking/ag.vim'
Plug 'sheerun/vim-polyglot'
Plug 'vim-airline/vim-airline'
Plug 'kyoz/purify', { 'rtp': 'vim' }
Plug 'prabirshrestha/async.vim'
Plug 'mattn/emmet-vim'
Plug 'AhmedAbdulrahman/vim-aylin'
Plug 'itchyny/lightline.vim'
call plug#end()

" Emmet.vim is the same as VSCode (Visual Studio Code) it helps you
" write html codes faster

" Enable syntax highlighting
syntax on
Expand All @@ -51,16 +44,6 @@ set incsearch
" Highlight search term. Use :nohl to redraw screen and disable highlight
set hlsearch

" vim-airline config
let g:airline#entensions#tabline#enabled = 1
let g:airline#entensions#tabline#left_sep = ' '
let g:airline#entensions#tabline#left_alt_sep = '|'
let g:airline#entensions#tabline#formatter = 'default'
let g:airline_powerline_fonts = 1

" Make Ag search from your project root
let g:ag_working_path_mode="r"

" Use case insensitive search, except when using capital letters
set ignorecase
set smartcase
Expand All @@ -84,10 +67,11 @@ au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g
set omnifunc=syntaxcomplete#Complete

" COLOR SCHEME
colorscheme purify

" FONT
set guifont=Monaco\ for\ Powerline:h12s
set background=dark
colorscheme aylin
if (has("termguicolors"))
set termguicolors
endif

" ENCODING
set encoding=utf-8
Expand All @@ -103,9 +87,8 @@ set wildmode=list:longest
" Speedup
set ttyfast

" FILE NUMBERS
" Enable relative and absolute file numbers
set number relativenumber
" Enable line number
set number

" WRAP
" Stop wrapping long lines
Expand All @@ -116,13 +99,15 @@ set autoread

" PLUGINS CONFIGURATIONS

" CtrlP
let g:ctrlp_map = '<c-p>'
let g:ctrlp_cmd = 'CtrlP'
" LightLine
let g:lightline = {
\ 'colorscheme': 'aylin',
\ }

" Other configs
set nocursorcolumn
set nocursorline
" set nocursorline
set norelativenumber
set lazyredraw
set mouse=
syntax sync minlines=256

Binary file removed screenshot.png
Binary file not shown.

0 comments on commit c1b377a

Please sign in to comment.