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 February 23, 2024 06:10
A minimal, yet highly functional `.vimrc` I use everywhere (windows, linux, gvim)
syntax on
if has("gui_running")
set guifont=Iosevka\ Curly:h12
set guioptions-=m
set guioptions-=T
set guioptions-=r
endif
@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))