[go: up one dir, main page]

Skip to content

My very personal configuration files for vim, tmux, zsh etc.

Notifications You must be signed in to change notification settings

farukrahmet/dotfiles

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Personal Configuration Files

The installation instructions are coming soon... (WIP)

VIM Configuration

  • Compatible with Vim and Neovim.
  • Layout compatible for Neovim but easily linkable for Vim.
  • All Neovim specific plugins, settings, key mappings etc. are isolated with has('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 ,.

Installation

MacOS

  • Install Neovim and Vim (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

Plugins List

Check plugins.vim for all plugins and keybindings.vim for all custom keybindings.

TMUX Configuration

Mac OS X

  • First install Homebrew

      /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    
  • Next, install the tmux and reattach-to-user-namespace packages using Homebrew

      brew 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
    
  • (Optional) Change the shell from fish to zsh
    • Open ~/.tmux.conf in your favourite editor and edit the MYSHELL and MYSHELL_PATH variables in the file which defaults to fish

        ...
        3 # SHELL choice (zsh | fish)
        4 MYSHELL=zsh
        5 MYSHELL_PATH=/usr/local/bin/zsh
        ...
      
  • Run tmux

    ~$ tmux

  • Et voilà!

Debian/Ubuntu

  • Install the xsel and tmux packages

      sudo 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
    
  • (Optional) Change the shell from fish to zsh
    • Open ~/.tmux.conf in your favourite editor and edit the MYSHELL and MYSHELL_PATH variables in the file which defaults to fish

        ...
        3 # SHELL choice (zsh | fish)
        4 MYSHELL=zsh
        5 MYSHELL_PATH=/usr/bin/zsh
        ...
      
  • Run tmux

    ~$ tmux

  • Troubleshooting :

    • If you get an error regarding ambiguous option: mouse edit your ~/.tmux.conf and change the set -g mouse on to this

        # set -g mouse on
      
  • Et voilà!

ZSH Configuration

  • Install zsh brew install zsh or sudo apt-get install zsh based on your platform.
  • Install Oh My Zsh!.

FISH Configuration

CTAGS

MACOSX

About

My very personal configuration files for vim, tmux, zsh etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 91.4%
  • Lua 4.8%
  • Shell 3.8%