Skip to content

Instantly share code, notes, and snippets.

@maio
maio / user.json
Last active October 13, 2022 15:05
IJKL shortcuts for JetBrains Fleet inspired by https://github.com/dkandalov/ijkl-shortcuts-plugin
{
"keymap": [
{
"key": "alt-backspace",
"trigger": "undo"
},
{
"key": "alt-h",
"trigger": "go-to-declaration"
},
@maio
maio / config.el
Created April 1, 2020 07:45
Emacs Config
;;; $DOOMDIR/config.el -*- lexical-binding: t; -*-
;; Place your private configuration here! Remember, you do not need to run 'doom
;; sync' after modifying this file!
;; Some functionality uses this to identify you, e.g. GPG configuration, email
;; clients, file templates and snippets.
(setq user-full-name "Marian Schubert"
user-mail-address "marian.schubert@gmail.com")
@maio
maio / init.vim
Created March 27, 2020 23:40
My init.vim
call plug#begin('~/.vim/plugged')
Plug 'tpope/vim-surround'
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-repeat'
Plug 'tpope/vim-unimpaired'
Plug 'tpope/vim-commentary'
Plug 'easymotion/vim-easymotion'
Plug 'ctrlpvim/ctrlp.vim'
Plug 'junegunn/fzf'
Plug 'junegunn/fzf.vim'
(defn git-log-commits [s]
"Split standard git log output to commits"
(setv items (.split s "\ncommit "))
(if (< (len items) 2)
items
(+ [(first items)]
(lfor item (rest items) f"commit {item}"))))
@maio
maio / foobar.hy
Last active September 1, 2019 13:31
defnx
(defn foobar []
"foobar!")
@maio
maio / init.el
Last active June 23, 2019 21:10
Emacs with keyboard shortcuts matching IntelliJ IDEA with IJKL plugin
;; UI
(setq inhibit-startup-screen t)
(scroll-bar-mode -1)
(tool-bar-mode -1)
(tooltip-mode -1)
(menu-bar-mode -1)
(set-frame-font "Iosevka 18" nil t)
(toggle-frame-maximized)
;; Package configs
@maio
maio / README.md
Created February 3, 2019 16:40
SCRIPT-8
@maio
maio / README.md
Created February 2, 2019 14:34
SCRIPT-8
@maio
maio / README.md
Created February 2, 2019 14:32
SCRIPT-8
@maio
maio / README.md
Created February 2, 2019 14:16
SCRIPT-8