Skip to content

Instantly share code, notes, and snippets.

View Aadv1k's full-sized avatar
🔨
Building

Aadvik Pandey Aadv1k

🔨
Building
View GitHub Profile
@Aadv1k
Aadv1k / .emacs.lisp
Last active October 7, 2025 09:27
my emacs config after ~1.5~ 4 months of heavy usage. Contains evil-mode, magit along with goodies (and use-package!)
;; Package --- Summary: Functional, but simple evil emacs config.
;; Author: Aadvik <[email protected]>
;; License: Public Domain
;; URL: https://gist.github.com/Aadv1k/2bd92889f3a10a5ffb6298b8fb7d04bf
(defvar *HOME* "C:/Users/Aadv1k")
(setq default-directory *HOME*)
(setq-default default-directory *HOME*)
@Aadv1k
Aadv1k / .vimrc
Last active December 1, 2025 04:53
A minimal, yet highly functional `.vimrc` I use everywhere (windows, linux, gvim)
syntax on
let mapleader=" "
" https://stackoverflow.com/questions/69145357/vim-almost-hangs-with-100-line-typescript-file
set regexpengine=0
filetype plugin indent on
set colorcolumn=80
@siguremon
siguremon / split-str.l
Created August 27, 2011 04:38
split string function in common lisp
(defun split-str (string &optional (separator " "))
(split-str-1 string separator))
(defun split-str-1 (string &optional (separator " ") (r nil))
(let ((n (position separator string
:from-end t
:test #'(lambda (x y)
(find y x :test #'string=)))))
(if n
(split-str-1 (subseq string 0 n) separator (cons (subseq string (1+ n)) r))