Skip to content
This repository has been archived by the owner on May 19, 2022. It is now read-only.

tristanperalta/vimfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vimfiles

Set of plugins and vim configuration. Uses vundle to organize plugins.

Features

  • Tree view
  • Tag view
  • Binds <C-s> for saving (like windows).
  • Search text pattern on each source file from (current working) directory recursively

Installation

  1. In your home directory, execute
$ git clone git@github.com:tristanperalta/vimfiles.git
  1. Remove existing .vim directory and .vimrc file and create symlinks
$ [ -d ${HOME} ] || mkdir -p ${HOME}/.config/nvim
  1. Install minpac
$ git clone git@github.com:k-takata/minpac.git $HOME/.config/nvim/pack/minpac/opt/minpac
$ vim -c ':PackUpdate'
  1. For the Ctrl-s to work properly, add this to your .bashrc file
$ echo "stty stop ''" >> ~/.bashrc
$ source ~/.bashrc
  1. Install fonts (optional, only when using X display such as gVim)
$ sudo apt-get install ttf-inconsolata
$ sudo fc-cache -fv # update font-cache
  1. Add this line to .bashrc or .bash.local script
export FZF_DEFAULT_COMMAND='rg --files'
  1. Install ripgrep
sudo apt install ripgrep

Notes

To fix the redraw problem on Ubuntu, go to Compiz Setup Manager → Workarounds → (check) "Force full screen redraw (buffer swap) on repaint"

Basic Usage

  • to open fuzzy matching, <Leader>o
  • to open tree view, hit <Leader>t
  • to comment multiple lines, select lines (using visual or select from mouse), <Leader>cc
  • Hold <C-h> or <C-l> to move between buffers
  • Hold <C-d> to delete current buffer (close file).

Bundled Plugins

Releases

No releases published

Packages

No packages published