diff options
author | Oxbian <oxbian@mailbox.org> | 2025-01-31 20:49:48 +0100 |
---|---|---|
committer | Oxbian <oxbian@mailbox.org> | 2025-01-31 20:49:48 +0100 |
commit | e65597837ec3057989f6bc67d90e5c10d4f3d14e (patch) | |
tree | 50e4eee92a5973a8486f91e01e691b2293954659 /README.md | |
parent | d28a067a4d4b52a1eac7e1c62a46c4726713d29c (diff) | |
download | vimrc-e65597837ec3057989f6bc67d90e5c10d4f3d14e.tar.gz vimrc-e65597837ec3057989f6bc67d90e5c10d4f3d14e.zip |
feat: removing install.sh and using /home/oxbian/.config/vim as default config dir
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 25 |
1 files changed, 7 insertions, 18 deletions
@@ -4,26 +4,17 @@ This repo contains my vim configuration, hope it will be useful for you. ## Installation -You will need `vim` and `git` to be able to use this configuration. - +You will need `vim` and `git` to be able to use this configuration. + Normally if you run the `install.sh` script it will work, but if you have a -problem, try to install vim plug and check if your problem is solved. - -*This vim config is expected to be cloned into `.config/vim`* - -```sh -git clone https://git.arka.rocks/Oxbian/vimrc.git $HOME/.config/vim -``` - -**Be careful the install.sh script remove everything in `$HOME/.vim` !** +problem, try to install vim plug and check if your problem is solved. + +**Since VIM 9.1.0327, vim can now read config from $XDG_CONFIG_HOME/vim** ```sh -curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ - https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim +git clone https://git.arka.rocks/Oxbian/vimrc.git ~/config/vim ``` -Oh and remove neovim, it make some problems with vim. - ## Plugins This config has just the necessary plugins installed: @@ -38,14 +29,12 @@ This config has just the necessary plugins installed: keybinds in a GUI. - [Vim gitgutter](https://github.com/airblade/vim-gitgutter) to see diff between files with git. -- [Css color](https://github.com/ap/vim-css-color) preview css colors. +- [Css color](https://github.com/ap/vim-css-color) preview css colors. (searching better plugins for all viewing all colors codes) ### LSP - [CoC](https://github.com/neoclide/coc.nvim) a LSP plugin that work like VsCode LSP, and in Node (yeah I don't like it too but no choice...). -- [Vim Wakatime](https://github.com/wakatime/vim-wakatime) to have wakatime time -tracking in vim. ## Command & keybinds |