Skip to content

General Tips

Caleb Bassi edited this page May 18, 2020 · 8 revisions
  • use vim mode wherever possible
    • use an editor that has a vim mode
    • use the browser with a vim mode extension
    • enable vi mode in your terminal shell
  • do all of your text editing in your editor and then copy it to wherever you need it
  • alias your shell commands to something shorter, like changing git to g
  • use ergonomic shell utilities like fish shell, lazygit, and fzf
  • reduce the amount of code you need to write with code snippets, autocompletion, and refactoring tools
  • reduce repetition while editing with vim macros and search and replace
  • use keyboard driven workflows where possible
    • consider switching to a tiling window manager like i3 or Sway
    • learn the keybinds for GUI programs
    • use CLI and TUI programs instead of GUI programs
  • text manipulation and navigation outside of vim mode
    • Home and End for jumping to the beginning and end of the line
    • PageUp and PageDown for jumping a page up and down
    • Ctrl+{Home,End} for jumping to the beginning and end of the document
    • Ctrl+{Left,Right} for jumping left and right an entire word
    • prepend a navigation commands with Shift to select that section of text
Clone this wiki locally