diff --git a/manjaro.md b/manjaro.md index d35517e..2d50bb0 100644 --- a/manjaro.md +++ b/manjaro.md @@ -39,6 +39,7 @@ * start onedrive `systemctl enable --user onedrive --now` * ssd maintenance `sudo systemctl enable fstrim.timer --now` * urxvt ext install `https://github.com/simmel/urxvt-resize-font` +* set nodeadkeys `setxkbmap -layout no -model pc105 -variant nodeadkeys` # wsl * sudo apt install fish neovim ranger tmux docker docker/compose tig git-lfs ctags ripgrep silversearcher-ag python3-pip diff --git a/nvim/coc-settings.json b/nvim/coc-settings.json index 9b18796..481ac32 100644 --- a/nvim/coc-settings.json +++ b/nvim/coc-settings.json @@ -7,7 +7,7 @@ "python.linting.pylintEnabled": false, "python.analysis.useLibraryCodeForTypes": false, /* "python.linting.pylintArgs": ["--disable=all", "--enable=F,E,unreachable,duplicate-key,unnecessary-semicolon,global-variable-not-assigned,unused-variable,binary-op-exception,bad-format-string,anomalous-backslash-in-string,bad-open-mode"], */ - "python.linting.flake8Args": ["--ignore=E731"], + "python.linting.flake8Args": ["--ignore=E731,W503"], "diagnostic.showUnused": false, "git.enableGutters": true, "yaml.format.enable": true, diff --git a/nvim/init.vim b/nvim/init.vim index 8e5330a..28306a2 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -49,7 +49,6 @@ Plug 'christoomey/vim-tmux-navigator' " integrate movement in tmux and vim Plug 'chriskempson/base16-vim' " base16 themes Plug 'chrisbra/Colorizer' " show color codes Plug 'junegunn/rainbow_parentheses.vim' " colorize parentheses -Plug 'junegunn/goyo.vim' " themes Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline-themes' @@ -75,6 +74,7 @@ endif " Transparent Background (For i3 and compton) highlight Normal guibg=NONE ctermbg=NONE highlight LineNr guibg=NONE ctermbg=NONE +highlight clear SignColumn " SignColumn should match background " seoul256 theme config (dark 233-239, light 252-256) let g:seoul256_background=233 @@ -162,7 +162,6 @@ set timeoutlen=500 set conceallevel=2 let g:BASH_Ctrl_j='off' " avoid 'C-j' being overridden to newline let g:BASH_Ctrl_l='off' " avoid 'C-l' being overridden to newline -highlight clear SignColumn " SignColumn should match background set shortmess=atOI " No help Uganda information, and overwrite read messages to avoid PRESS ENTER prompts set listchars=tab:→\ ,trail:·,extends:↷,precedes:↶,nbsp:+ " eol:↵ @@ -277,15 +276,10 @@ nnoremap > nmap :cp nmap :cn " remove buffer -nmap :enew:bd# -nmap :enew:bd!# +nmap :bnext:bd# +nmap :bnext:bd!# " close window nmap :q -" goyo -let g:goyo_linenr=1 -let g:goyo_width="140" -let g:goyo_height="100%" -nmap :Goyo " ***************************** " GIT @@ -406,8 +400,8 @@ augroup myAu " A unique name for the group. DO NOT use the same name twice! autocmd FileType python set tabstop=4 softtabstop=4 shiftwidth=4 autocmd FileType markdown,yaml set tabstop=2 softtabstop=2 shiftwidth=2 autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o " Disables automatic commenting on newline - autocmd FileType * RainbowParentheses() autocmd BufEnter * if &filetype == "" | setlocal ft=none | endif " default new file is none + autocmd FileType * RainbowParentheses autocmd BufWritePre * %s/\s\+$//e " Automatically deletes all trailing whitespace on save. autocmd BufReadPost quickfix nmap " quickfix autocmd CompleteDone * if pumvisible() == 0 | pclose | endif " bugfix