Skip to content

Commit 11b3eb6

Browse files
committed
Add installation instructions for vim 8+
Vim 8+ supports installing plugins using the Vim's plugin manager. By creating .vim/pack/<plugin-directory>/start directory and cloning the plugin directory there. It will be loaded at startup no need to load it automatic or to add any configuration in the .vimrc configuration file.
1 parent 8c88563 commit 11b3eb6

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,17 @@
1212

1313
1. With [Vundle](https://github.com/gmarik/vundle): `echo "Plugin 'wakatime/vim-wakatime'" >> ~/.vimrc && vim +PluginInstall`
1414

15-
Or with [Pathogen](https://github.com/tpope/vim-pathogen): `cd ~/.vim/bundle && git clone git://github.com/wakatime/vim-wakatime.git`
15+
Or with [Pathogen](https://github.com/tpope/vim-pathogen): `cd ~/.vim/bundle && git clone https://github.com/wakatime/vim-wakatime.git`
1616

1717
Or with [Vim-plug](https://github.com/junegunn/vim-plug): add `Plug 'wakatime/vim-wakatime'` to .vimrc file. While in vim reload .vimrc with `:so ~/.vimrc` or restart vim, enter
1818
`:PlugInstall`
1919

20-
Or with [Packer](https://github.com/wbthomason/packer.nvim): add `use 'wakatime/vim-wakatime'` to your plugins file.
20+
Or with [Packer](https://github.com/wbthomason/packer.nvim): add `use 'wakatime/vim-wakatime'` to your plugins file.
21+
Or with [Vim 8+](https://www.vim.org/): `mkdir -p ~/.vim/pack/plugins/start && ~/.vim/pack/plugins/start && git clone https://github.com/wakatime/vim-wakatime.git`
2122

22-
2. Enter your [api key](https://wakatime.com/settings#apikey), then press `enter`.
23+
Then start `vim`. You should be prompted to enter your WakaTime [API Key](https://wakatime.com/settings#apikey).
24+
25+
2. Enter your [API Key](https://wakatime.com/settings#apikey), then press `enter`.
2326

2427
3. Use Vim and your coding activity will be displayed on your [WakaTime dashboard](https://wakatime.com).
2528

0 commit comments

Comments
 (0)