diff --git a/.vimrc b/.vimrc index 0bd5f27..1c62bb0 100644 --- a/.vimrc +++ b/.vimrc @@ -12,6 +12,7 @@ set relativenumber set incsearch set tabstop=4 set updatetime=100 +set colorcolumn=81 " when indenting with '>', use 4 spaces width set shiftwidth=4 " On pressing tab, insert 4 spaces @@ -42,9 +43,13 @@ vmap // gc nmap :set invrelativenumber nmap gd :YcmCompleter GoToDefinition +nmap yr :YcmCompleter RefactorRename =expand('') + nnoremap ghw :h =expand("") -nmap :MaximizerToggle + inoremap kj +nmap :MaximizerToggle +let g:maximizer_set_default_mapping = 0 " Make Y consistent with C and D. See :help Y. nnoremap Y y$ @@ -172,7 +177,6 @@ call plug#begin() Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } Plug 'junegunn/fzf.vim' call plug#end() - let g:ale_fixers = { \ '*': ['remove_trailing_lines', 'trim_whitespace'], \ 'python': [ @@ -187,6 +191,7 @@ let g:ale_fixers = { \} let g:ale_fix_on_save = 1 +let g:ale_python_flake8_options ="--ignore=E501" source $HOME/.which-key.vim " source $HOME/rotate.vim @@ -260,6 +265,7 @@ let g:ycm_key_detailed_diagnostics = '' let g:indentLine_concealcursor = 'inc' let g:indentLine_conceallevel = 2 +let g:indentLine_char_list = ['|', '¦', '┆', '┊'] let g:airline_powerline_fonts = 1 let g:airline_theme='deus' diff --git a/.zshrc b/.zshrc index 6581fdc..70d2a41 100644 --- a/.zshrc +++ b/.zshrc @@ -41,7 +41,7 @@ COMPLETION_WAITING_DOTS="true" # Uncomment the following line if you want to disable marking untracked files # under VCS as dirty. This makes repository status check for large repositories # much, much faster. -# DISABLE_UNTRACKED_FILES_DIRTY="true" +DISABLE_UNTRACKED_FILES_DIRTY="true" # Uncomment the following line if you want to change the command execution time # stamp shown in the history command output. @@ -49,12 +49,14 @@ COMPLETION_WAITING_DOTS="true" # "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" # or set a custom format using the strftime function format specifications, # see 'man strftime' for details. -# HIST_STAMPS="mm/dd/yyyy" +HIST_STAMPS="mm/dd/yyyy" +# plugins=() plugins=( zsh-autosuggestions python pip last-working-dir history sudo command-not-found git extract zsh-syntax-highlighting docker docker-compose zsh-vi-mode z.lua ) +plugins+=(zsh-prompt-benchmark) # https://stackoverflow.com/questions/28028740/git-tab-completion-in-zsh-throwing-errors