Skip to content

aalvarado/aa-vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

141 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AA-Vim

Vim / Nvim configuration.

Support

Tested on the following Operating Systems:

  • Windows 10/7
  • OSX (Wherever Nvim works)
  • Linux

Dependencies

  • git
  • RipGrep
  • Fzf
  • Python 3
  • Treesitter

Installation

git clone git@github.com:aalvarado/aa-vim.git
  • Create symlinks

(Linux || OSX)

ln -s aa-vim/.vimrc ~/.vimrc

(Windows)

mklink .vimrc aa-vim\.vimrc

  • Install Plugins

Open vim and type:

:PlugInstall

This will download all and install the plugins specified in the .vimrc file.

Restart vim to load all the plugins

Customizations

  • Neovim leader is ,
  • Command mode is also ;
  • Mapped jj to escape in insert mode
  • ,ff will open the fzf files fuzzy search
  • ,fv that is <leader>fv will open up nvim-tree which is a file browser
  • ,x writes and quits the file
  • ,w writes the file
  • There's autowrite for markdown files
  • There's autocomplete for braces. for example typing ( then <tab> autcomples and places cursor in the middle, same with single quotes, double quotes and angled. this {<tab> auto completes to this {|} but also works with {<space><tab> auto completes to { | } which is very convenient. You jump with <c-l> or <c-j> between the end and the last cursor position
  • This is made for editing markdown files as simple as possible.

Updates

  • cd into the cloned directory and git pull
  • You might get errors if the vim plugin isn't installed, do :PlugUpdate within the editor to update all the vim plugins
  • :checkhealth will give additional info if anything is missing

About

Vimconfig for quick, up and running editing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published