Compare commits

..

No commits in common. "6c1bbf8dacb8a388197945ddab73030cece073cb" and "89f9112337470b4b7f65e5fe31f39d4c224bae7f" have entirely different histories.

3 changed files with 36 additions and 16 deletions

View File

@ -18,14 +18,42 @@ Plug 'preservim/nerdtree'
Plug 'nmante/vim-latex-live-preview'
Plug 'lervag/vimtex'
Plug 'junegunn/goyo.vim'
Plug 'prettier/vim-prettier', { 'do': 'npm install --force' }
Plug 'iamcco/markdown-preview.nvim', { 'do': 'npm install --force' }
" Bash
Plug 'vim-scripts/bash-support.vim'
" Complete
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
Plug 'vim-syntastic/syntastic'
Plug 'roxma/nvim-yarp'
Plug 'roxma/vim-hug-neovim-rpc'
" Ruby
Plug 'takkii/Bignyanco'
Plug 'uplus/deoplete-solargraph'
Plug 'deoplete-plugins/deoplete-jedi'
Plug 'vim-ruby/vim-ruby'
Plug 'tpope/vim-rails'
"
" Problem with vim-prettier
" git checkout -b test origin/feature/issue-232-add-support-for-prettier-2.x;
" npm install --force
"
" Problem autocomplete
" pip3 install --user pynvim
" pip3 install msgpack --user
call plug#end()
" NerdTree
let NERDTreeShowHidden=1
" Deoplete
let g:deoplete#enable_at_startup=1
call deoplete#custom#option({
\ 'auto_complete_delay': 500,
\ 'smart_case': v:true,
\ 'max_list' : 10,
\ })
" Status-line
set statusline=
set statusline+=%#IncSearch#
@ -37,14 +65,6 @@ set statusline+=%= "Right side settings
set statusline+=%#Search#
set statusline+=\ %l/%L
set statusline+=\ [%c]
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
set nocompatible
set hlsearch
@ -125,11 +145,14 @@ autocmd BufWritePost *.tex silent! execute "!sudo rm -rf *.fls *.ilg *.nav *.snm
autocmd BufWritePost *.tex silent! execute "!sudo pkill -HUP mupdf > /dev/null" | redraw!
" mutt
autocmd BufRead,BufNewFile /tmp/neomutt* let g:goyo_width=80
autocmd BufRead,BufNewFile /tmp/neomutt* :Goyo
autocmd BufRead,BufNewFile /tmp/neomutt* map ZZ :Goyo\|x!<CR>
autocmd BufRead,BufNewFile /tmp/neomutt* map ZQ :Goyo\|q!<CR>
"autocmd BufRead,BufNewFile /tmp/neomutt* let g:goyo_width=80
"autocmd BufRead,BufNewFile /tmp/neomutt* :Goyo
"autocmd BufRead,BufNewFile /tmp/neomutt* map ZZ :Goyo\|x!<CR>
"autocmd BufRead,BufNewFile /tmp/neomutt* map ZQ :Goyo\|q!<CR>
" Automatically deletes all trailing whitespace and newlines at end of file on save.
autocmd BufWritePre * %s/\s\+$//e
autocmd BufWritepre * %s/\n\+\%$//e
" Autoformating markdown
autocmd BufWritePost *.md :Prettier

View File

@ -1,8 +1,8 @@
#!/bin/bash
set -x
sudo rm -rf /var/tmp/portage/*
sudo rm -rf /var/tmp/binpkgs/*
sudo rm -rf /var/tmp/genkernel/*
sudo rm -rf /tmp/*
sudo rm -rf /var/cache/genkernel/*
sudo emerge -a --depclean
sudo emerge -a @preserved-rebuild

3
.zshrc
View File

@ -33,9 +33,6 @@ FPATH=/usr/local/share/zsh/site-functions:$FPATH
#set bell-style none &>> /dev/null
#setxkbmap pl &>> /dev/null
bindkey "^l" clear-screen
bindkey "^?" backward-kill-word
export GPG_TTY=$(tty)
export TERM=xterm-256color
export SHELL=/bin/bash