Application Specific

Vim

  • Pane Spliting

# vertical split
<ESC>
ctrl+w + l
# or
<ESC>
:vsplit file.md

# horizontal split
<ESC>
ctrl+w + s
# or
<ESC>
:split file.md

# navigation
# move to the right pane
<ESC>
ctrl+w + l
# move to the down pane
<ESC>
ctrl+w + j
# move to uper pane
<ESC>
ctrl+w + k

# size adjustement
# width increase and decrease
<ESC>
ctrl+w + SHITFT+> #increase
ctrl+w + SHITFT+< #decrease

# height increase and decrease
<ESC>
ctrl+w + SHITFT++ #increase
ctrl+w + SHITFT+- #decrease
ctrl+w + SHITFT+= #equalsize
  • Multiple files editing

# only the first file will be shown in the console
vi file1.md file2.md file3.md

# list the buffers
<ESC>
:ls
# switch buffers
<ESC>
:buf <number>
# add a new file to the buffer
<ESC>
:e ~/.config/nvim/init.vim

Firefox

  • Disable RESTORE AT STARTUP

about:config
browser.sessionstore.resume_from_crash --> OFF
  • Disable firefox from adding "https://" from simple search in search bar

  • Eg: 10.10.10.10/endpoint will automatically search with the default search engine disable it with

about:config
keyword.enabled --> False
  • Disable auto suggestions from previous searches of your history

Settings --> Privacy and Security --> Address Bar (Uncheck Everything)

VSCODE

  • Annoying reportMissingImports when importing libraries like pwn

# file to edit: ~/.vscode/extensions/ms-python.vscode-pylance-2022.5.2/package.json
LIne 212
Change "default":"warning" to "default":"none"

Obsidian

  • Plugins that I use

Folder Focus Mode --> Only shows the current folder in the file explorer
Admotion --> Easy note highlighting
Dynamic Table of Contents --> TOC based on YAML Headers
Kanban --> Kanvan board
Markdown Prettifier --> Tags and notes update timestamps
Ozan's Image Editor --> Shows Image even in editor mode
Privacy Glasses --> Blurs notes, only shows where the mouse hovers
txtasmd --> Open .txt files as .md files

Last updated