Skip to content

Instantly share code, notes, and snippets.

;; aelobdog's emacs configuration
(setq-default evil-escape-key-sequence "jk")
(setq-default evil-escape-delay 0.2)
;; some stuff that I don't really get
(setq make-backup-files nil)
(setq auto-save-default nil)
(setq inhibit-startup-screen t)
(setq ring-bell-function 'ignore)
@aelobdog
aelobdog / init.lua
Last active January 4, 2026 07:25
latest vim configuration
-- ------------------------------
-- alobdog's neovim configuration
-- ------------------------------
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not (vim.uv or vim.loop).fs_stat(lazypath) then
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
if vim.v.shell_error ~= 0 then
vim.api.nvim_echo({
;; aelobdog's emacs configuration
(setq-default evil-escape-key-sequence "jk")
(setq-default evil-escape-delay 0.2)
(setq make-backup-files nil)
(setq auto-save-default nil)
(setq inhibit-startup-screen t)
(setq ring-bell-function 'ignore)
(set-frame-font "Jetbrains Mono-13" t)
@aelobdog
aelobdog / simple.lua
Created August 30, 2021 07:33
A simple guide on how to make your first LiteXL plugin
-- mod-version:1 -- lite-xl 1.16
-----------------------------------------------------------------------
-- NAME : Simple
-- DESCRIPTION: A simple guide on how to make your first LiteXL plugin
-- AUTHOR : Ashwin Godbole (aelobdog)
-- GOALS : To render some text inside the editor
-----------------------------------------------------------------------
-- Disclaimer :
@aelobdog
aelobdog / nobuild.c
Created August 27, 2021 10:38
My nobuild.c file that I use for hadela. Just a reference for myself :)
#include <stdio.h>
#include <string.h>
#define NOBUILD_IMPLEMENTATION
#include "./my_nobuild.h"
#include <stdlib.h>
#define CFLAGS "-Wall -Wextra -std=c89 -pedantic"
char* getAllCFiles() {
const char** fileList;
@aelobdog
aelobdog / my_nobuild.h
Created August 27, 2021 10:26
My modifications of https://github.com/tsoding/nobuild. Added support for providing arguments to CMD marcro which are strings formed of space separated sub-arguments; which I think is not a supported feature by default (I may be wrong though)
#ifndef NOBUILD_H_
#define NOBUILD_H_
#ifndef _WIN32
# define _POSIX_C_SOURCE 200809L
# include <sys/types.h>
# include <sys/wait.h>
# include <sys/stat.h>
# include <unistd.h>
# include <dirent.h>
@aelobdog
aelobdog / helloworld.lua
Created August 5, 2021 12:47
my first plugin for lite-xl : displays the text "hello, world!" on the top right of the screen
-- mod-version:1 -- lite-xl 1.16
-- NAME : helloworld
-- GOAL : to render some text to the top right corner of the editor.
-- import the lite-xl "core" package
local core = require "core"
local command = require "core.command"
local style = require "core.style"
local config = require "core.config"
@aelobdog
aelobdog / init.vim
Last active December 24, 2023 14:26
let mapleader = " "
let g:loaded_matchparen=1
set clipboard=unnamedplus
set tabstop=4
set shiftwidth=4
set softtabstop=4
set expandtab
set number
set belloff=all
set noshowmode