The installation instructions are coming soon... (WIP)
- Compatible with Vim and Neovim.
- Layout compatible for
Neovim
but easily linkable forVim
. - All
Neovim
specific plugins, settings, key mappings etc. are isolated withhas('nvim')
conditionals. - Recommended environment includes iTerm nightly and tmux.
- Plugins managed by vim-plug.
- Primary programming languages supported:
Python
,Haskell
,Rust
,Go
- Mnemonic keyboard shortcuts. E.g. file based actions under
<Leader>f
and buffer based shortcuts are under<Leader>b
. - Leader key is
space
. - Local leader is
,
.
-
Install
Neovim
andVim
(i prefer HEAD for both).brew install neovim/neovim/neovim --HEAD brew install vim --with-lua --with-luajit --with-override-system-vi --without-nls --HEAD
-
For Neovim it is recommended to use separated virtual python environments for editor's own needs (i use Fish shell and virtualfish). For any shell these virtual environments must be located under
~/.virtualenvs/
.vf new neovim2 pip install neovim vf new --python=python3 neovim3 pip3 install neovim
-
Clone repository to any place you prefer.
git clone https://github.com/zekzekus/dotfiles.git
-
Create symbolic links for both editors.
cd $HOME cd .config ln -s /path/to/dotfiles/nvim . cd $HOME ln -s /path/to/dotfiles/nvim .vim ln -s /path/to/dotfiles/nvim/init.vim .vimrc
-
Create necessary directories.
cd $HOME mkdir .nvimtmp
-
First run will give errors. Ignore them.
$ nvim $ vim
-
For each editor execute
:PlugInstall
command. install ripgrep and ag via brew
Check plugins.vim for all plugins and keybindings.vim for all custom keybindings.
-
First install Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-
Next, install the
tmux
andreattach-to-user-namespace
packages using Homebrewbrew install tmux brew install reattach-to-user-namespace
-
Create a symbolic link to
dotfiles/tmux/tmux.conf
ln -s /path/to/repo/dotfiles/tmux/tmux.conf ~/.tmux.conf
-
-
Open
~/.tmux.conf
in your favourite editor and edit theMYSHELL
andMYSHELL_PATH
variables in the file which defaults tofish
... 3 # SHELL choice (zsh | fish) 4 MYSHELL=zsh 5 MYSHELL_PATH=/usr/local/bin/zsh ...
-
-
Run tmux
~$ tmux
-
Install the
xsel
andtmux
packagessudo apt-get install xsel tmux
-
Create a symbolic link to
dotfiles/tmux/tmux.ubuntu.conf
ln -s /path/to/repo/dotfiles/tmux/tmux.ubuntu.conf ~/.tmux.conf
-
-
Open
~/.tmux.conf
in your favourite editor and edit theMYSHELL
andMYSHELL_PATH
variables in the file which defaults tofish
... 3 # SHELL choice (zsh | fish) 4 MYSHELL=zsh 5 MYSHELL_PATH=/usr/bin/zsh ...
-
-
Run tmux
~$ tmux
-
-
If you get an error regarding
ambiguous option: mouse
edit your~/.tmux.conf
and change theset -g mouse on
to this# set -g mouse on
-
- Install zsh
brew install zsh
orsudo apt-get install zsh
based on your platform. - Install Oh My Zsh!.