Skip to content

gcgbarbosa/dots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

George's dotfiles

image

Features

1. Vim 2. Tmux 3. zsh
Fuzzy finder powerline syntax highlight
Autocompletion +plugins more completitions
Code formatter theming
Linter
Theming
powerline
git integration

ZSH

Everything starts with good terminal.

I used this tutorial to install it.

To customize the shell I use powerline.

I use it with Vim and Tmux.

Ctags

Ctags is used to "jump into" functions/classes.

Ctags does not support scala out of the box. To enable it, copy .ctags from this repo to ~ (home) and voila. It shoud be working after you generate the tag list for the repository. You press ctrl+] to jump into a function definition. To go back you press ctrl+t.

Vim

Here are some resurces I used to build this dotfiles:

Resources used to build the scala environment:

This tutorial explains how to run VIM from scratch:

Managing plugins for vim

Plug is a plugin manager for vim. The installation process of plug is very simple. Run:

curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

To install plugins we run the following inside vim:

:PlugInstall

Language Support

Scala

Simply install coc-metals. I am also using metals to format scala code using the following inside vim:

:Format

Python

Install coc-python to get Python support.

C/C++

Install coc-clangd to get C++/C autocompletion.

Note that you need clang installed.

Web development

I use the following plugins for coc:

:CocInstall coc-tsserver coc-eslint coc-json coc-prettier coc-css coc-html
  • coc-tsserver: provides autocompletion for typescript
  • coc-esslint: provides linting for javascript
  • coc-json: provides json autocompletion
  • coc-prettier: provides a wrapper to prettier
  • coc-css: language server for css
  • coc-html: language server for html

Tmux

Tmux is both my mom and my dad.

The surprisingly new thing here is powerline:

Put this inside your .tmuxrc:

source /home/gcgbarbosa/anaconda3/lib/python3.7/site-packages/powerline/bindings/tmux/powerline.conf

Don't forget to replace it with your own site-packages folder path.


About

George's dot files.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published