How to do 90% of what plugins do (with just vim)

How to Do 90% of What Plugins Do (With Just Vim) set path+=** set wildmenu command! MakeTags !ctags -R . -Use ^] to jump to tag under cursor Use g^ "AUTOCOMPLETE: " The good stuff is documented in |ins-compeletion| " HIGHLIGHTS: ^x^n for JUST this file ^x^f for filenames (works with our path trick!) ^x^] for tags only ^n for anything specified by the 'complete' option "NOW WE CAN: Use ^n and ^p to go back & forth in the suggestion list " FILE BROWSING: " Tweaks for browsing let g:netrw_banner=0 "disable annoying banner let g:netrw_browse_split=4 " open in prior window let g:netrw_altv=1 "open splits to the right let g:netrw

January 26, 2022 Â· 1 min

Ssh-keygen snippet

ssh-keygen -t rsa -b 4096 -t — probably stands for type & RSA is the recomended type as of 2021. -b — flag increasing the bits makes it harder to crack the key by brute force methods how to transfer a public key to the server by connecting via a password since the pubic key is not yet placed in the server. ssh-copy-id <username>@<host>

January 26, 2022 Â· 1 min

Boost your coding fu with vscode & vim part 1

An Important Note For Windows and Linux Users <CTRL-C> no longer copies, and instead it sends you back to Normal mode. The command that we use in Vim for copying is far less verbose: y (for yank). <CTRL-V> no longer pastes and instead sends you into Visual-block mode. Again, the command we use in Vim for pasting is less verbose: Just a single p (for paste). <CTRL-F> no longer lets you search, and instead it allows you to scroll your screen one page forward. Once more, the command we use in Vim for searching is closer to your fingertips: /{term-i-am-searching-for}. Use <ESC>, <CTRL-C> or <CTRL-[> to go back to Normal mode. ...

January 20, 2022 Â· 22 min

Boost Your Coding Fu with Visual Studio Code & Vim

Boost Your Coding Fu With Visual Studio Code and Vim https://www.barbarianmeetscoding.com/blog/boost-your-coding-fu-with-vscode-and-vim Mapping Your Caps Lock Key to Control One thing that comes super handy when using Vim (and any other editor for that matter) is to remap your Caps Lock Key to Control. This means that you can easily reach a super commonly used key such as Control from the comfort of the home row. If you’re using a Mac you can do this directly from Preferences, Keyboard. Otherwise you may need to install some software in your development machine but it should be very straightforward. Google be thy friend. Google it. ...

January 18, 2022 Â· 6 min

My Experience using Vim Keybindings in VSCode

My Experience Using Vim Keybindings In VSCode https://michaelychen.medium.com/my-experience-using-vim-keybindings-in-vscode-ea6d335aa155 Vim VSCode Settings A lot of these settings are the ones suggested by the extension’s home page. "vim.easymotion": true, "vim.incsearch": true, "vim.useSystemClipboard": true, "vim.hlsearch": true, "vim.insertModeKeyBindings": [ { "before": ["j", "j"], "after": ["<Esc>"] } ], "vim.leader": "<space>", "vim.handleKeys": { "<C-a>": false, "<C-f>": false }, "vim.normalModeKeyBindingsNonRecursive": [ { "before": [":"], "commands": ["workbench.action.showCommands"] } ], "vim.visualModeKeyBindingsNonRecursive": [ { "before": [">"], "commands": ["editor.action.indentLines"] }, { "before": ["<"], "commands": ["editor.action.outdentLines"] }, { "before": ["p"], "after": ["p", "g", "v", "y"] } ], "vim.statusBarColorControl": true, "vim.statusBarColors.normal": ["#8FBCBB", "#000"], "vim.statusBarColors.insert": ["#BF616A", "#000"], "vim.statusBarColors.visual": ["#B48EAD", "#000"], "vim.statusBarColors.visualline": ["#B48EAD", "#000"], "vim.statusBarColors.visualblock": ["#A3BE8C", "#000"], "vim.statusBarColors.replace": "#D08770", "vim.statusBarColors.commandlineinprogress": "#007ACC", "vim.statusBarColors.searchinprogressmode": "#007ACC", "vim.statusBarColors.easymotionmode": "#007ACC", "vim.statusBarColors.easymotioninputmode": "#007ACC", "vim.statusBarColors.surroundinputmode": "#007ACC", "workbench.colorCustomizations": { "statusBar.background": "#B48EAD", "statusBar.noFolderBackground": "#B48EAD", "statusBar.debuggingBackground": "#B48EAD", "statusBar.foreground": "#000" } I also binded the autosuggestion navigation button to ctrl + hjkl by pasting this in the keybindings.json file. ...

January 18, 2022 Â· 2 min

PEN-103

PEN-103 Linux is just the name of the kernel, a piece of software that handles interactions between the hardware and end-user applications. Linux distribution, on the other hand, refers to a complete operating system (OS) built on top of the Linux kernel Xfce is Kali Linux’s Default Desktop Environment A rolling distribution has many benefits but it also comes with multiple challenges, both for those of us who are building the distribution and for the users who have to cope with a never-ending flow of updates and sometimes backwards-incompatible changes. ...

January 18, 2022 Â· 5 min

Complete Course on Linux Bash Shell Scripting with Real-Life Examples [Video]

Complete Course on Linux Bash Shell Scripting with Real-Life Examples [Video] show avaible shells cat /etc/shells lists long file in reverse order -l == list long version -t = sort by most used to least -r = reverse ls -ltr Script Naming Convention Scripts directory Script name should id function Script should end with .shell (if multiple shells are used.) Script File Permissions All script to be executed should have proper executable file permissions ...

January 15, 2022 Â· 1 min

Unreal Engine 5 The Complete Beginner's Course

Unreal Engine 5: The Complete Beginner’s Course [Video] Chapter 2 The Level Editor Viewport II – Moving, Rotating, and Scaling q w e r to switch between the widgets/functions q - disable w - translate e - rotation widget r- Scales use white sphere to move in all directions CTRL + LEFT CLICK - selects mutiple objects translation widget applies to all objects SHIFT + Translation widget to move object without moving camera position ...

January 6, 2022 Â· 1 min

Vim Features

Vim Features :tabedit file2 :tabedit file3 gt or gT to go to next tab or previous tab respectively 2gt takes you to 2nd tab :tabfirst :tablast :tabn - next tab :tabp - previous tab :tabs - list all open tabs To open multiple files in tabs: $ vim -p source.c source.h To close a single tab: :tabclose To close a single tab: :tabclose and to close all other tabs except the current one: :tabonly . Use the suffix! to override changes of unsaved files ...

January 4, 2022 Â· 2 min

Vim Tutor

Vim Tutor ​ h (left) j (down) k (up) l (right) j == down h == left k == up l == right :q! == exit editor, DISCARD CHANGES ** Press x to delete the character under the cursor. ** ​ ** Press i to insert text. ** ​ ** Press A to append text. ** ​ ** Use :wq to save a file and exit. ** Lesson 2.1: DELETION COMMANDS ​ ** Type dw to delete a word. ** ...

January 4, 2022 Â· 9 min