Skip to content

Instantly share code, notes, and snippets.

View mark01zlatar's full-sized avatar
:shipit:
Simplicity, Focus, Discipline

Marko Zlatar mark01zlatar

:shipit:
Simplicity, Focus, Discipline
View GitHub Profile
@mark01zlatar
mark01zlatar / zsh
Last active January 18, 2026 22:51
zsh
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
@mark01zlatar
mark01zlatar / init.vim
Last active January 18, 2026 22:16
Visual Studio Code - Neovim Settings
if exists('g:vscode')
let mapleader = " "
" Navigation
nnoremap <silent> <C-j> :call VSCodeNotify('workbench.action.navigateDown')<CR>
xnoremap <silent> <C-j> :call VSCodeNotify('workbench.action.navigateDown')<CR>
nnoremap <silent> <C-k> :call VSCodeNotify('workbench.action.navigateUp')<CR>
xnoremap <silent> <C-k> :call VSCodeNotify('workbench.action.navigateUp')<CR>
nnoremap <silent> <C-h> :call VSCodeNotify('workbench.action.navigateLeft')<CR>
xnoremap <silent> <C-h> :call VSCodeNotify('workbench.action.navigateLeft')<CR>
# split panes using | and -
bind | split-window -h
bind - split-window -v
unbind '"'
unbind '%'
# switch panes using vim keys
bind -n C-l select-pane -L
bind -n C-h select-pane -R
bind -n C-k select-pane -U