Skip to content

wetsocksnsleeves/.dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Dotfiles

This repo consists of all my dotfiles. 🔥 Amazing nvim configuration. Tmux configurations and all that stuff.

Table of contents

Installation
Overview
Keybinds

Installation

First, clone this repo to your home directory:

git clone git@github.com:realecto/.dotfiles.git

Then, using GNU stow you can stow the particular modules you want:

stow tmux nvim zsh

Done!

Overview

What's being used

💤 Lazy.nvim the Package manager
📁 Neo-tree as File explorer
🔭 Telescope as File finder
🔔 Lua Line for Status bar
🤓 Completions and Docstrings
🌊 Kanagawa themed

Lsps, Linters, and Formatters

  • Uses nvim's built in lsp.
  • nvim-lspconfig provides default lsp configurations.
  • Mason is a manager for LSPs, Linters, and Formatters.
  • Mason-null-ls is to allow Mason and none-ls to work together
  • None-ls is to make linters and formatters work.

Note

npm packages used:

  • eslint_d
  • pyright
  • prettier
  • @tailwindcss/language-server
  • typescript-language-server

My ideal environment setup

  1. Installing wget, curl, git, ripgrep, and zsh.
  2. Installing Oh My Zsh. And apply my .zshrc
  3. Install Neovim
  4. Install Node.js, fnm, and yarn
  5. Install relevant yarn packages
  6. Pyenv + Python build dependencies
  7. GNU gcc
  8. Python3
  9. Hugo
  10. Deno
  11. Tmux
  12. My dotfiles

Key binds

Neovim
Tmux

Neovim

Function Keymap
space + gc Comment line
space + gb Block Comment
space + nf Generate Docstring
space + gr Find references
space + gd Find definition
space + t Go Back
space + ca Code action
space + rn Rename
K Show hover information
ctrl + n Open neo-tree
ctrl + h Hide neo-tree
space + gf (or write file) Format Code
ctrl + p Open telescope
ctrl + c Close telescope
space + fg Live grep telescope
space + fb Search for buffer
ctrl + p / Ctrl + n Next/Previous in telescope
space + en Telescope in nvim configuration folder
z= Vim spell correct suggestions
space + fr Find and replace
space + nh Un-highlight
space + fx Turn current file into executable
F5 Run current python script
space + p Paste without resetting default register
space + y/yy Yank into system clipboard
space + d/dd Delete without resetting default register
K / J Move selection up and down

Tmux

Mostly stock settings.

Leader is remapped to <ctrl + s>

Function Keymap
leader + % Create pane to the right
leader + " Create pane below
leader + c Create new window
leader + number Move to window number
leader + , Rename window
leader + d Detach from current session
leader + [ Enter copy mode

About

All my configuration files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •