unpluggedcoder / vimrc

My Vim settings...

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vimrc

Install all vim plugs with :PlugInstall.

Rust

I use coc-rls instead rust-lang/rls vim plug, so do the rust-analyzer. Install Coc extensions with below:

:CocInstall coc-rls
:CocInstall coc-rust-analyzer

You should have rust-analyzer binary in your $PATH, or just set the executable path for dense-analysis/ale.

tmux

Installation

Requirements: tmux version 1.9 (or higher), git, bash.

Clone TPM:

$ git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

Copy .tmux.conf to ~/.tmux.conf ($XDG_CONFIG_HOME/tmux/tmux.conf works too).

Installing plugins

  1. Add new plugin to ~/.tmux.conf with set -g @plugin '...'
  2. Press prefix + I (capital i, as in Install) to fetch the plugin.
  3. For tmux-network-bandwidth:
    macOS: brew install gawk coreutils
    
    Linux: apt-get install gawk net-tools coreutils
  4. For tmux-mem-cpu-load, install the binary:
    Gentoo: emerge tmux-mem-cpu-load
    Homebrew: brew install tmux-mem-cpu-load

You're good to go! The plugin was cloned to ~/.tmux/plugins/ dir and sourced.

Uninstalling plugins

  1. Remove (or comment out) plugin from the list.
  2. Press prefix + alt + u (lowercase u as in uninstall) to remove the plugin.

All the plugins are installed to ~/.tmux/plugins/ so alternatively you can find plugin directory there and remove it.

About

My Vim settings...

License:MIT License


Languages

Language:Vim Script 94.2%Language:Lua 5.8%