aboutsummaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
authorGravatar Matheus R <matheusrbarros03@gmail.com> 2022-06-04 00:19:03 +0000
committerGravatar Matheus R <matheusrbarros03@gmail.com> 2022-06-04 00:34:44 +0000
commit98996e2fab51d5707473015d1b7f17898929df62 (patch)
treeaa2cf51bad5f8b5398f0d302388844756b2a12b6 /nvim
parent5580dc6828f93d86d0496a805eae7a7516def742 (diff)
cleaning up the house...
Diffstat (limited to 'nvim')
-rw-r--r--nvim/.netrwhist12
-rw-r--r--nvim/init.vim154
2 files changed, 0 insertions, 166 deletions
diff --git a/nvim/.netrwhist b/nvim/.netrwhist
deleted file mode 100644
index 1d3c251..0000000
--- a/nvim/.netrwhist
+++ /dev/null
@@ -1,12 +0,0 @@
-let g:netrw_dirhistmax =10
-let g:netrw_dirhistcnt =9
-let g:netrw_dirhist_9='/home/math'
-let g:netrw_dirhist_8='/home/math/vimwiki/templates'
-let g:netrw_dirhist_7='/home/math/vimwiki'
-let g:netrw_dirhist_6='/home/math'
-let g:netrw_dirhist_5='/home'
-let g:netrw_dirhist_4='/home/math'
-let g:netrw_dirhist_3='/home/math/.config/ncspot'
-let g:netrw_dirhist_2='/home/math/.config'
-let g:netrw_dirhist_1='/home/math'
-let g:netrw_dirhist_0='/home/math/.config/lf'
diff --git a/nvim/init.vim b/nvim/init.vim
deleted file mode 100644
index c48af7f..0000000
--- a/nvim/init.vim
+++ /dev/null
@@ -1,154 +0,0 @@
-" Maps 'ç' to save
-map çç :w<CR>
-
-" Exit terminal mode
-tnoremap <Esc> <leader>q
-set tabstop=2
-set shiftwidth=2
-set expandtab
-set autoindent
-set smartindent
-set clipboard=unnamedplus
-syntax on
-filetype plugin indent on
-set nocompatible
-let mapleader = '\'
-set ruler
-" Hybrid line numbers
-set number relativenumber
-set mousemodel=popup
-set nocursorline
-"" Status bar
-set laststatus=2
-
-" Plugins com vim-plug
-call plug#begin()
-
-" Lightline
-Plug 'itchyny/lightline.vim'
-
-" fugitive
-Plug 'tpope/vim-fugitive'
-
-" Rust support
-Plug 'rust-lang/rust.vim'
-
-" Rigel theme
-Plug 'Rigellute/rigel'
-
-" Syntastic
-Plug 'vim-syntastic/syntastic'
-
-" VimWiki
-Plug 'vimwiki/vimwiki'
-
-" Vim-lua
-Plug 'tbastos/vim-lua'
-
-call plug#end()
-
-" Linewrap with a single command
-command! -nargs=* Wrap set wrap linebreak nolist
-
-" Consertando as cores no st
-let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
-let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
-
-" Vimwiki
-let g:vimwiki_list = [{
- \ 'path': '~/vimwiki',
- \ 'template_path': '~/vimwiki/templates/',
- \ 'template_default': 'default',
- \ 'syntax': 'markdown',
- \ 'ext': '.md',
- \ 'path_html': '~/vimwiki/html/',
- \ 'custom_wiki2html': 'vimwiki_markdown',
- \ 'template_ext': '.tpl'}]
-
-map <Leader>wa :VimwikiAll2HTML<CR>
-map = `<Plug>VimwikiAddHeaderLevel
-
-" Configurações do netrw
-nmap <Leader>= :Lexplore<CR>
-let g:netrw_banner = 0
-let g:netrw_liststyle = 0
-let g:netrw_browse_split = 4
-let g:netrw_winsize = 25
-
-" enable Rigel theme
-syntax enable
-colorscheme rigel
-set t_Co=256
-color rigel
-
-" Transparent background
-hi Normal guibg=NONE ctermbg=NONE
-highlight LineNr ctermfg=NONE ctermbg=NONE
-
-noremap <expr> <silent> <Home> col('.') == match(getline('.'),'\S')+1 ? '0' : '^'
-imap <silent> <Home> <C-O><Home>
-
-"So I can move around in insert
-inoremap <C-k> <C-o>gk
-inoremap <C-h> <Left>
-inoremap <C-l> <Right>
-inoremap <C-j> <C-o>gj
-
-" Autocomplete brackets, etc.
-inoremap " ""<left>
-inoremap ' ''<left>
-inoremap ( ()<left>
-inoremap [ []<left>
-inoremap { {}<left>
-inoremap {<CR> {<CR>}<ESC>O
-inoremap {;<CR> {<CR>};<ESC>O
-
-set wrap linebreak nolist
-set nofoldenable
-let g:syntastic_html_tidy_ignore_errors=[" proprietary attribute " ,"trimming empty <", "unescaped &" , "lacks \"action", "is not recognized!", "discarding unexpected", "a", "e", "i", "o", "u"]
-let g:syntastic_tex_chktex_showmsgs = 0
-
-set statusline=%F%m%r%h%w%=(%{&ff}/%Y)\ (line\ %l\/%L,\ col\ %c)
-set backspace=indent,eol,start
-
-set gcr=a:blinkon0
-set scrolloff=3
-
-let no_buffers_menu=1
-
-set fileformats=unix,dos,mac
-set showcmd
-set shell=/bin/sh
-
-set nobackup
-set noswapfile
-
-set hlsearch
-set incsearch
-set ignorecase
-set smartcase
-
-"" Encoding
-set bomb
-set ttyfast
-set binary
-set hidden
-set encoding=utf-8
-set fileencoding=utf-8
-set fileencodings=utf-8
-set timeoutlen=250 ttimeoutlen=250
-" Tagbar
-map <silent> <F4> :TagbarToggle<CR>
-let g:tagbar_autofocus = 1
-
-"" Open current line on GitHub
-noremap ,o :!echo `git url`/blob/`git rev-parse --abbrev-ref HEAD`/%\#L<C-R>=line('.')<CR> \| xargs xdg-open<CR><CR>
-
-"" Clean search (highlight)
-nnoremap <silent> <leader><space> :noh<cr>
-
-set cc=80
-
-let g:rigel_lightline = 1
-let g:lightline = { 'colorscheme': 'rigel' }
-let g:syntastic_enable_racket_racket_checker = 1