Skip to content

Instantly share code, notes, and snippets.

View obaranovskyi's full-sized avatar

Oleh Baranovskyi obaranovskyi

View GitHub Profile
@wojukasz
wojukasz / keybindings.json
Last active April 11, 2026 13:12
⚑VSCode + WhichKey + Vim keybindings | Works with VScode forks like AntiGravity, Cursor, etc | Copy-paste ready config | 5-min setup | Full version: https://github.com/wojukasz/VimCode
[
// ╔══════════════════════════════════════════════════════════════════════════════════╗
// β•‘ VSCODE VIM LAZYVIM KEYBINDINGS β•‘
// β•‘ Modifier Key Bindings (Ctrl, Alt, Shift) β•‘
// β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
//
// This file contains keybindings that use modifier keys (Ctrl, Alt, Shift) and special
// characters that need VSCode's key binding system (not Vim's).
//
// IMPORTANT: DO NOT put space-leader bindings here (<leader>...)
@awidegreen
awidegreen / vim_cheatsheet.md
Last active April 4, 2026 19:43
Vim shortcuts

Introduction

  • C-a == Ctrl-a
  • M-a == Alt-a

General

:q        close
:w        write/saves
:wa[!]    write/save all windows [force]
:wq       write/save and close
@ruph
ruph / .vimrc
Last active October 23, 2025 15:59
vim settings
" Use vim settings, rather then vi settings (much better!)
" This must be first, because it changes other options as a side effect.
set nocompatible
set t_Co=256 " iTerm2 supports 256 color mode.
set ai " auto indenting
set history=100 " keep 100 lines of history
set ruler " show the cursor position
syntax on " syntax highlighting
filetype plugin on " use the file type plugins
@dlo
dlo / surround.md
Created December 25, 2009 23:31
surround.vim reference

Deleting

Text              Command    New Text
---------------   -------    -----------
'Hello W|orld'    ds'        Hello World
(12|3+4*56)/2     ds(        123+4*56/2
<div>fo|o</div>   dst        foo