diff options
author | Oxbian <got.dacs@slmail.me> | 2023-08-08 14:02:22 +0200 |
---|---|---|
committer | Oxbian <got.dacs@slmail.me> | 2023-08-08 14:02:22 +0200 |
commit | 317950a3b6af900031db32b9e9e74723dce59e19 (patch) | |
tree | d57d87f753c36705bd030e752f0b6bc05c0a2b9e | |
parent | 73bd0c0c7c4644502082e8f7f9fd6943f989cf99 (diff) | |
download | vimrc-317950a3b6af900031db32b9e9e74723dce59e19.tar.gz vimrc-317950a3b6af900031db32b9e9e74723dce59e19.zip |
Updating folder configuration to use .config
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | .vimrc | 6 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rwxr-xr-x | install.sh | 3 | ||||
-rw-r--r-- | vim/after/ftplugin/markdown.vim (renamed from .vim/after/ftplugin/markdown.vim) | 0 | ||||
-rw-r--r-- | vim/after/ftplugin/python.vim (renamed from .vim/after/ftplugin/python.vim) | 0 | ||||
-rw-r--r-- | vim/keymaps.vim (renamed from .vim/keymaps.vim) | 0 | ||||
-rw-r--r-- | vim/options.vim (renamed from .vim/options.vim) | 1 | ||||
-rw-r--r-- | vim/plugins.vim (renamed from .vim/plugins.vim) | 3 | ||||
-rw-r--r-- | vim/spell/en.utf-8.add (renamed from .vim/spell/en.utf-8.add) | 0 | ||||
-rw-r--r-- | vim/spell/en.utf-8.add.spl (renamed from .vim/spell/en.utf-8.add.spl) | bin | 211 -> 211 bytes | |||
-rw-r--r-- | vim/spell/fr.utf-8.spl (renamed from .vim/spell/fr.utf-8.spl) | bin | 571627 -> 571627 bytes | |||
-rw-r--r-- | vim/spell/fr.utf-8.sug (renamed from .vim/spell/fr.utf-8.sug) | bin | 2324315 -> 2324315 bytes |
13 files changed, 12 insertions, 7 deletions
@@ -2,3 +2,7 @@ .vim/plugged .vim/autoload/* .vim/autoload +vim/plugged/* +vim/plugged +vim/autoload/* +vim/autoload @@ -1,4 +1,4 @@ " Vim configuration, do not delete -source ~/.vim/plugins.vim -source ~/.vim/options.vim -source ~/.vim/keymaps.vim +source ~/.config/vim/plugins.vim +source ~/.config/vim/options.vim +source ~/.config/vim/keymaps.vim @@ -93,7 +93,7 @@ For help, use `:help fern`. Keybinds: - `Ctrl+f` open the treeview buffer at the left, - `ga` stage a file from git, -- `gd` unstage a file from git, +- `gu` unstage a file from git, - `a` create a file or folder, - `d` delete a file or folder, - `r` rename a file or folder, @@ -4,4 +4,5 @@ cd $DIR ln -sf $(pwd)/.vimrc $HOME/.vimrc rm -rf $HOME/.vim -ln -sf $(pwd)/.vim $HOME/.vim
\ No newline at end of file +rm -rf $HOME/.config/vim +ln -sf $(pwd)/vim $HOME/.config/vim diff --git a/.vim/after/ftplugin/markdown.vim b/vim/after/ftplugin/markdown.vim index bcda2dd..bcda2dd 100644 --- a/.vim/after/ftplugin/markdown.vim +++ b/vim/after/ftplugin/markdown.vim diff --git a/.vim/after/ftplugin/python.vim b/vim/after/ftplugin/python.vim index 41b1d88..41b1d88 100644 --- a/.vim/after/ftplugin/python.vim +++ b/vim/after/ftplugin/python.vim diff --git a/.vim/keymaps.vim b/vim/keymaps.vim index 19cee2e..19cee2e 100644 --- a/.vim/keymaps.vim +++ b/vim/keymaps.vim diff --git a/.vim/options.vim b/vim/options.vim index 4548b68..795330b 100644 --- a/.vim/options.vim +++ b/vim/options.vim @@ -28,7 +28,6 @@ set noexpandtab " Vim will automatically use tab set smartindent " Do clever indenting set copyindent " Copy indent style of the file set preserveindent " Preserve indent style - " Automatic options set autowrite " Automatically write the file on certain actions set autoread " Automatically read extern changes on the file diff --git a/.vim/plugins.vim b/vim/plugins.vim index 6db8cc9..ebb4278 100644 --- a/.vim/plugins.vim +++ b/vim/plugins.vim @@ -35,6 +35,7 @@ Plug 'prabirshrestha/asyncomplete-lsp.vim' " Autocompletion & connection with vi " Tools Plug 'wakatime/vim-wakatime' " Wakatime +Plug 'ap/vim-css-color' " rgb, hex color preview " Language Plug 'mattn/emmet-vim', { 'for': ['html', 'css', 'js', 'vue'] } @@ -95,7 +96,7 @@ function! s:init_fern() abort nmap <buffer> s <Plug>(fern-action-open:split) nmap <buffer> v <Plug>(fern-action-open:vsplit) nmap <buffer> ga <Plug>(fern-action-git-stage) - nmap <buffer> gd <Plug>(fern-action-git-unstage) + nmap <buffer> gu <Plug>(fern-action-git-unstage) endfunction augroup my-fern-hijack diff --git a/.vim/spell/en.utf-8.add b/vim/spell/en.utf-8.add index 283920b..283920b 100644 --- a/.vim/spell/en.utf-8.add +++ b/vim/spell/en.utf-8.add diff --git a/.vim/spell/en.utf-8.add.spl b/vim/spell/en.utf-8.add.spl Binary files differindex 29528b3..29528b3 100644 --- a/.vim/spell/en.utf-8.add.spl +++ b/vim/spell/en.utf-8.add.spl diff --git a/.vim/spell/fr.utf-8.spl b/vim/spell/fr.utf-8.spl Binary files differindex ff27132..ff27132 100644 --- a/.vim/spell/fr.utf-8.spl +++ b/vim/spell/fr.utf-8.spl diff --git a/.vim/spell/fr.utf-8.sug b/vim/spell/fr.utf-8.sug Binary files differindex df555d2..df555d2 100644 --- a/.vim/spell/fr.utf-8.sug +++ b/vim/spell/fr.utf-8.sug |