Skip to content

Latest commit

 

History

History
91 lines (64 loc) · 3.53 KB

README.md

File metadata and controls

91 lines (64 loc) · 3.53 KB

Dotfiles for VIM/Conky/etc.

F.A.Q.

Q: What can I find here?
A: You can find here my settings for VIM/conky/etc. programms

Q: Can I use this for my own purposes?
A: Of course, you can use it easily

Q: Why do you use separate configs for VIM and NeoVIM instead of using a single file?
A: There are two main reasons:

  • I wrote an article that explains how to setup Vim for Python development. In addition to it a certain group of developers would like to get an identical setup described in the article. So I kinda restricted in experimenting and changing the original .vimrc file
  • With NeoVIM I can freely experimenting in the way that I would like. Also NeoVIM has a lot improvements in comparison to the original VIM, so I can get a better development experience when switching between different programming languages and environments

How to install VIM settings

  1. Installing VIM lastest version (skip this step, if already installed):
sudo add-apt-repository ppa:fcwu-tw/ppa
sudo apt-get update
sudo apt-get install vim
  1. Install powerline-fonts for vim-airline

  2. Install Vundle plugin

git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
  1. Clone my repository somewhere and copy settings:
git clone https://github.com/Relrin/dotfiles.git ~/Downloads/dotfiles/
cp -r ~/Downloads/dotfiles/vim/* ~/.vim/
mv ~/Downloads/dotfiles/vim/.vimrc ~/
  1. Run VIM and enter:
:PluginInstall
  1. Restart VIM and get fun ;)

How to install NeoVIM setting

Mostly based on the configuration from the LazyVim repository, but with adjusted settings for my own needs.

  1. Install NeoVIM itself. Follow the instruction descibed here

  2. Install Nerd fonts. Just pick any that you like the most. I personally prefer to use Caskaydia Cove Nerd Font.

  3. Install ripgrep

  4. Install lazygit

  5. Install latest Node.js (for LSP support).

  6. Clone my repository and copy all the files to the nvim directory:

git clone https://github.com/Relrin/dotfiles.git ~/Downloads/dotfiles/
cp -r ~/Downloads/dotfiles/nvim/* ~/.config/nvim/
  1. Run NeoVIM. On the first run it will install the required dependencies automatically for you.

  2. Restart NeoVIM and get fun ;)

How to install Sublime Text settings

  1. Copy my settings for Sublime Text 3 into settings folder (but first of all don't forget to make a backup of old preferences):
git clone https://github.com/Relrin/dotfiles.git ~/Downloads/
# for example, Mac OS X using ~/Library/Application Support/Sublime Text 3/Packages/ folder
cd ~/Downloads/
cp -r ~/Downloads/dotfiles/sublime/Packages/* ~/Library/Application Support/Sublime Text 3/Packages/
  1. Get list of packages from requirements.txt and install via PackageControl

  2. Restart Sublime Text 3 and get fun ;)

Screenshots

VIM: alt text Sublime Text 3: alt text

Useful articles about setting up NeoVIM