> For the complete documentation index, see [llms.txt](https://dhaneshsivasamy07.gitbook.io/oscp-2022/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dhaneshsivasamy07.gitbook.io/oscp-2022/misc/application-specific.md).

# Application Specific

### Vim

* Pane Spliting

```bash
# 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

```bash
# 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

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

### VSCODE

* Annoying `reportMissingImports` when importing libraries like pwn

```bash
# 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

```bash
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
```
