Giter VIP home page Giter VIP logo

.dotfiles's Introduction

NVIM

Main tools:

  • Package Manager: Packer
  • LSP: LSP-Zero

Adding Plugins:

  • Add the code into pack.lua within ~/.config/nvim/lua

    • Type :so to source the file.
    • Type :PackerSync to install the plugin using packer.
  • If the plugin requires a setup, go to ~/.config/nvim/lua/plugins and create a newfile with %filename.lua and do the setup.

  • <space>pv for exiting the file back to netrw

  • <space>pf for the telescope fuzzyfinder

  • <space>ps for live grep with telescope

TMUX

Main tools:

  • Package Manager: tmp

Keybinds:

All commands require the prefix to be pushed first.

  • < prefix > is a backtick (`).

Source the tmux config:

  • Prefix + r

Pane splitting:

  • Split pane vertically using backslash ( \ )
  • Split pane horizontally using backslash ( - )

Resizing panes:

  • Use h,j,k,l to move panes left,down,up,right respectively.
  • Use z to maximise the current pane.

Adding Plugins:

  • Add the code into tmux.conf under plugins.
  • Source the tmux config using Prefix + r or Prefix + :source-file ~/.config/tmux/tmux.conf

Yabai/SKHD

Keybinds:

Note: Alt is "option" on Mac

Switching:

  • Alt + (h,j,k,l) to switch windows in a workspace
  • Alt + (s,g) to switch between external monitors

Resizing:

  • Shift + Alt(option) + m to maximise your current window
  • Shift + Alt + t to toggle floating windows
  • Shift + Alt + e to auto-resize windows in a workspace

Movement:

  • Shift + Alt + (h,j,k,l) to swap windows with another
  • Shift + Alt + (s,g) to send window to corresponding external monitor
  • Shift + Alt + (p,n) to send window to prev or next
  • Shift + Alt + (#num) to send window to #num workspace

Start/Stop:

  • Ctrl + Alt + (g,s) to start and stop the yabai services

.dotfiles's People

Contributors

mokshablr avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.