autocommand for vim relative to normal numbers
authorJosuer08 <josuer08@gmail.com>
Sun, 7 Feb 2021 23:41:48 +0000 (18:41 -0500)
committerJosuer08 <josuer08@gmail.com>
Sun, 7 Feb 2021 23:41:48 +0000 (18:41 -0500)
16 files changed:
.config/nvim/.netrwhist
.config/nvim/init.vim
.config/nvim/plugin/nerdtree.vim [deleted file]
.local/lib/python3.9/site-packages/pywal/__pycache__/__init__.cpython-39.pyc
.local/lib/python3.9/site-packages/pywal/__pycache__/__main__.cpython-39.pyc
.local/lib/python3.9/site-packages/pywal/__pycache__/colors.cpython-39.pyc
.local/lib/python3.9/site-packages/pywal/__pycache__/export.cpython-39.pyc
.local/lib/python3.9/site-packages/pywal/__pycache__/image.cpython-39.pyc
.local/lib/python3.9/site-packages/pywal/__pycache__/reload.cpython-39.pyc
.local/lib/python3.9/site-packages/pywal/__pycache__/sequences.cpython-39.pyc
.local/lib/python3.9/site-packages/pywal/__pycache__/settings.cpython-39.pyc
.local/lib/python3.9/site-packages/pywal/__pycache__/theme.cpython-39.pyc
.local/lib/python3.9/site-packages/pywal/__pycache__/util.cpython-39.pyc
.local/lib/python3.9/site-packages/pywal/__pycache__/wallpaper.cpython-39.pyc
.local/lib/python3.9/site-packages/pywal/backends/__pycache__/__init__.cpython-39.pyc
.local/lib/python3.9/site-packages/pywal/backends/__pycache__/wal.cpython-39.pyc

index 0333324ed5ed0c6ed106302e37e3797bebc9aa2a..710042c40634f750dbdf0bfc97a6e9c1b1523571 100644 (file)
@@ -1,5 +1,8 @@
 let g:netrw_dirhistmax  =10
-let g:netrw_dirhistcnt =8
+let g:netrw_dirhistcnt =1
+let g:netrw_dirhist_1='/home/josuer08/.dotfiles/.config/nvim'
+let g:netrw_dirhist_0='/home/josuer08/.dotfiles/.config/nvim/plugin'
+let g:netrw_dirhist_9='/home/josuer08/Documents/tinysh'
 let g:netrw_dirhist_8='/home/josuer08/.dotfiles/.config/nvim/plugin'
 let g:netrw_dirhist_7='/home/josuer08/.dotfiles/.config/nvim'
 let g:netrw_dirhist_6='/home/josuer08/.dotfiles/.config/nvim/plugin'
@@ -7,4 +10,3 @@ let g:netrw_dirhist_5='/home/josuer08/.dotfiles/.config/nvim'
 let g:netrw_dirhist_4='/home/josuer08/.dotfiles/.config/bashtop'
 let g:netrw_dirhist_3='/home/josuer08/.dotfiles/.config'
 let g:netrw_dirhist_2='/home/josuer08/.dotfiles/.config/nvim'
-let g:netrw_dirhist_1='/home/josuer08'
index bb56ec97886ea4b3fc8ebcd0065255cfba656f26..3cf47324e318c2c66976afb094bf5c43b0932695 100644 (file)
@@ -39,3 +39,9 @@ noremap <silent> <expr> k (v:count == 0 ? 'gk' : 'k')
 "Vex
 nnoremap <leader>v :Vex<CR>
 nnoremap <leader>h :Sex<CR>
+" this is an auto changer for relative numbers
+:augroup numbertoggle
+:  autocmd!
+:  autocmd BufEnter,FocusGained,InsertLeave * set relativenumber
+:  autocmd BufLeave,FocusLost,InsertEnter   * set norelativenumber
+:augroup END
diff --git a/.config/nvim/plugin/nerdtree.vim b/.config/nvim/plugin/nerdtree.vim
deleted file mode 100644 (file)
index cb7839b..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-"NERDTree:
-let g:NERDTreeGitStatusWithFlags = 1
-let g:WebDevIconsUnicodeDecorateFolderNodes = 1
-let g:NERDTreeGitStatusNodeColorization = 1
-let g:NERDTreeColorMapCustom = {
-    \ "Staged"    : "#0ee375",
-    \ "Modified"  : "#d9bf91",
-    \ "Renamed"   : "#51C9FC",
-    \ "Untracked" : "#FCE77C",
-    \ "Unmerged"  : "#FC51E6",
-    \ "Dirty"     : "#FFBD61",
-    \ "Clean"     : "#87939A",
-    \ "Ignored"   : "#808080"
-    \ }
-let g:NERDTreeIgnore = ['^node_modules$']
-" sync open file with NERDTree
-" " Check if NERDTree is open or active
-function! IsNERDTreeOpen()
-  return exists("t:NERDTreeBufName") && (bufwinnr(t:NERDTreeBufName) != -1)
-endfunction
-" Call NERDTreeFind iff NERDTree is active, current window contains a modifiable
-" file, and we're not in vimdiff
-function! SyncTree()
-  if &modifiable && IsNERDTreeOpen() && strlen(expand('%')) > 0 && !&diff
-    NERDTreeFind
-    wincmd p
-  endif
-endfunction
-" Highlight currently open buffer in NERDTree
-autocmd BufEnter * call SyncTree()
index 376e7187d395c9942ac11b08e77d150f19c127fd..d0cacfa89e674703fb81198dcad92b0344aabc25 100644 (file)
Binary files a/.local/lib/python3.9/site-packages/pywal/__pycache__/__init__.cpython-39.pyc and b/.local/lib/python3.9/site-packages/pywal/__pycache__/__init__.cpython-39.pyc differ
index 75cfaf264ec100cfebf8dab34df1a81bd3f70612..3cb69b864c15888d6cd6ea2aaeece8f3b407ec9c 100644 (file)
Binary files a/.local/lib/python3.9/site-packages/pywal/__pycache__/__main__.cpython-39.pyc and b/.local/lib/python3.9/site-packages/pywal/__pycache__/__main__.cpython-39.pyc differ
index 9d43dbb0cd9236de4f5270167982d610155cf195..6b2690f24d304953489141cab183284c3ba1ea1b 100644 (file)
Binary files a/.local/lib/python3.9/site-packages/pywal/__pycache__/colors.cpython-39.pyc and b/.local/lib/python3.9/site-packages/pywal/__pycache__/colors.cpython-39.pyc differ
index a7e0e828d321c277f47704c899e60f57805d0c8c..a8e7e26fd49e7e5482a221d0f975d1ce0af385bf 100644 (file)
Binary files a/.local/lib/python3.9/site-packages/pywal/__pycache__/export.cpython-39.pyc and b/.local/lib/python3.9/site-packages/pywal/__pycache__/export.cpython-39.pyc differ
index 18630921a92752d8787ad6797468a2dbe3690741..16349428a7fd3670f54e4218f145f6505f5535a0 100644 (file)
Binary files a/.local/lib/python3.9/site-packages/pywal/__pycache__/image.cpython-39.pyc and b/.local/lib/python3.9/site-packages/pywal/__pycache__/image.cpython-39.pyc differ
index 7554aaccdb106ed49fcc55eabc04034d20113e96..a6950d28d7ef7b735e2e39276723d8209729b2f3 100644 (file)
Binary files a/.local/lib/python3.9/site-packages/pywal/__pycache__/reload.cpython-39.pyc and b/.local/lib/python3.9/site-packages/pywal/__pycache__/reload.cpython-39.pyc differ
index c8edc77b8ef8dfd202f57a1da387b425d848de2a..a565a73456046f2cef6f5fb1835ebf2e26f4eba0 100644 (file)
Binary files a/.local/lib/python3.9/site-packages/pywal/__pycache__/sequences.cpython-39.pyc and b/.local/lib/python3.9/site-packages/pywal/__pycache__/sequences.cpython-39.pyc differ
index 9dad9a892c48ce1e6672acb7c4891ffa7dd119cd..822000572852c516af8415d7b9cd1150f13b768c 100644 (file)
Binary files a/.local/lib/python3.9/site-packages/pywal/__pycache__/settings.cpython-39.pyc and b/.local/lib/python3.9/site-packages/pywal/__pycache__/settings.cpython-39.pyc differ
index 847cc8634e8db0faa061e3bc1ed892d884c3e002..65046aa01463fa1364b821b241db0ddc2d39e32a 100644 (file)
Binary files a/.local/lib/python3.9/site-packages/pywal/__pycache__/theme.cpython-39.pyc and b/.local/lib/python3.9/site-packages/pywal/__pycache__/theme.cpython-39.pyc differ
index eb6429c070877ca35518cbf7a6f54beb57958856..76ddda6380978a70039f76d0c0db3a05268cd096 100644 (file)
Binary files a/.local/lib/python3.9/site-packages/pywal/__pycache__/util.cpython-39.pyc and b/.local/lib/python3.9/site-packages/pywal/__pycache__/util.cpython-39.pyc differ
index ade4e13da7b9cc510930e66a68a93ca6fe2975f8..88629155cbd9db48a6cfab638ee6aace4b799f6a 100644 (file)
Binary files a/.local/lib/python3.9/site-packages/pywal/__pycache__/wallpaper.cpython-39.pyc and b/.local/lib/python3.9/site-packages/pywal/__pycache__/wallpaper.cpython-39.pyc differ
index e4c8a63e43f23abfc7cecd44ac6e7b6d5bd32de1..0fab672f4ea304d67386e869bb2236866fb05388 100644 (file)
Binary files a/.local/lib/python3.9/site-packages/pywal/backends/__pycache__/__init__.cpython-39.pyc and b/.local/lib/python3.9/site-packages/pywal/backends/__pycache__/__init__.cpython-39.pyc differ
index 0bc57451ae3d18faa1ee393edd83fb90984518a4..3a4b7348694677660afce44a2f20f06d7b4cb0f4 100644 (file)
Binary files a/.local/lib/python3.9/site-packages/pywal/backends/__pycache__/wal.cpython-39.pyc and b/.local/lib/python3.9/site-packages/pywal/backends/__pycache__/wal.cpython-39.pyc differ