Skip to content

alecgerona/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alec's dotfiles

kitty zsh 🚀⭐spaceship neovim

Featureful, lean, and easy to install.

In a nutshell

This repository contains all the dotfiles and config files I or maybe you might need to easily get started with this workflow. All these is designed to strike a good balance with usability, features, and intuitiveness. The latter is the most important as I designed the workflow to be plug and play as much possible.

What exactly does this mean?

✔️ Move fluidly between your IDE and the terminal. Can't decide which one to use? No problem, the shortcuts configured are designed to be as similar as possible. Exceptions will be noted below.

✔️ Further muddy your decision between IDE and terminal with neovim. This config hooks neovim up with IDE features such as intellisense, autocomplete, linting, styling, and more!

Installation

This dotfiles' installation is followed from here.

⚠️This will overwrite any existing config file you have! Make sure you know what you're doing!

Basically, it uses git init --bare for its magic to have an elegant way for the config files to remain where they should be while being able to use git methods on them from anywhere. This avoids having to mess with symlinks.

  1. Add our target bare repository to $HOME/.gitignore to avoid recursion issues
echo ".cfg" >> .gitignore
  1. Clone this repository on a bare git repository
git clone --bare [email protected]:alecgerona/dotfiles.git $HOME/.cfg

And that should be it. Reloading your terminal should make everything take effect.

Optional:

The default alias for this bare git repository is git-dotfiles. Assuming the configs have loaded, you can set this repository to only track the files you explicitly add so git-dotfiles status won't be messy.

git-dotfiles config --local status.showUntrackedFiles no

To make changes, simply use git-dotfiles as you would your regular git command.

Features

Now to the good stuff, let's go one by one on each feature this dotfiles allow you to do.

Terminal - kitty

As mentioned above, Kitty is all set up with its theme as kitty-snazzy.

Kitty can create and handle splits with:

Command Effect
Ctrl+alt+s Horizontal split
Ctrl+alt+v Vertical split
Ctrl+alt+h Jump to left window
Ctrl+alt+j Jump to bottom window
Ctrl+alt+k Jump to above window
Ctrl+alt+l Jump to right window

Editor - Neovim

The default editor is Neovim and comes bundled with vim-plug as its package manager.

Some useful commands:

Command Effect
y Copy to system clipboard
p Paste from system clipboard
w Save file
x Save and close file
Ctrl+h Jump to left vim window
Ctrl+j Jump to bottom vim window
Ctrl+k Jump to above vim window
Ctrl+l Jump to right vim window

Editor - Intellij Idea

In case you were using this, the dotfiles also contain a .ideavimrc for the editor's vim plugin.

Some useful commands: (This extends the above commands from neovim)

Command Effect
y Copy to system clipboard
p Paste from system clipboard

About

My personal dotfiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published