From 72c73b3a00920fc3e4a95b9f293c54bf159a14fe Mon Sep 17 00:00:00 2001 From: Henrik Bakken Date: Fri, 20 Nov 2020 00:40:52 +0100 Subject: [PATCH] updates --- nvim/coc-settings.json | 2 +- nvim/init.vim | 14 +++++++++++--- ranger/rc.conf | 2 +- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/nvim/coc-settings.json b/nvim/coc-settings.json index 2680006..5113f9d 100644 --- a/nvim/coc-settings.json +++ b/nvim/coc-settings.json @@ -6,7 +6,7 @@ "python.linting.pylintEnabled": false, "python.linting.flake8Enabled": true, "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=E226,E231,E241,E501,E701,E704"], + "python.linting.flake8Args": ["--ignore=E221,E226,E231,E241,E501,E701,E704"], "python.linting.enabled": true, "git.enableGutters": true, "tabnine.shortcut": "TN", diff --git a/nvim/init.vim b/nvim/init.vim index 9454c45..042fea8 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -36,7 +36,7 @@ Plug 'tpope/vim-surround' " parentheses helper Plug 'mbbill/undotree' " Persistent undo Plug 'farmergreg/vim-lastplace' " When reopen a buffer, puts the cursor where it was last time Plug 'haya14busa/vim-asterisk' " better asterisk motions -Plug 'svermeulen/vim-easyclip' +Plug 'svermeulen/vim-cutlass' Plug 'tpope/vim-unimpaired' Plug 'tpope/vim-sensible' " tmux @@ -71,7 +71,7 @@ endif "highlight LineNr guibg=NONE ctermbg=NONE " seoul256 theme config (dark 233-239, light 252-256) -" let g:seoul256_background=233 +let g:seoul256_background=233 " colo seoul256 " statusline @@ -155,7 +155,7 @@ 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:→\ ,eol:↵,trail:·,extends:↷,precedes:↶,nbsp:+ set fillchars=vert:│,stl:\ ,stlnc:\ -set clipboard+=unnamed +set clipboard+=unnamedplus set list @@ -177,6 +177,14 @@ nmap w :cd %:p:h " REMAPPING set langmap=å(,¨),Å{,^},Ø\\;,ø:,æ^ +" ***************************** +" REMAPPING +nnoremap m d +xnoremap m d + +nnoremap mm dd +nnoremap M D + " ***************************** " EDITING nmap cr (coc-rename) diff --git a/ranger/rc.conf b/ranger/rc.conf index 140b27f..816a204 100644 --- a/ranger/rc.conf +++ b/ranger/rc.conf @@ -56,7 +56,7 @@ set automatically_count_files true set open_all_images true # Be aware of version control systems and display information. -set vcs_aware false +set vcs_aware true # State of the three backends git, hg, bzr. The possible states are # disabled, local (only show local info), enabled (show local and remote