Skip to content

Instantly share code, notes, and snippets.

View ur4ltz's full-sized avatar

Andy Shevchenko ur4ltz

  • Kharkiv - Ukraine, Glory to Ukraine
View GitHub Profile
hi VertSplit ctermbg=NONE guibg=NONE guifg=#455354
hi CursorLine term=NONE cterm=NONE gui=NONE
hi SpellCap guibg=#383900 cterm=NONE gui=NONE
hi SpellBad guibg=#661400 cterm=NONE gui=NONE
hi Pmenu guibg=#2d3135 guifg=#a0d1d9
hi PmenuSel guibg=#818890
hi PmenuSbar guibg=#121315
hi PmenuThumb guibg=#b1bfcc guifg=#66d9ef
hi NeomakeWarningSign guifg=#969900 guibg=#232526 cterm=NONE gui=NONE
hi NeomakeErrorSign guifg=#991f00 guibg=#232526 cterm=NONE gui=NONE
@GoldsteinE
GoldsteinE / colors.vim
Last active February 24, 2020 00:38
for r/unixporn
" It's not a real config, but the hi commands from my actual ~/.vimrc
" Base color scheme: https://github.com/gosukiwi/vim-atom-dark
colorscheme atom-dark
hi VertSplit ctermbg=NONE guibg=NONE guifg=#455354
hi CursorLine term=NONE cterm=NONE
hi SpellCap guibg=#383900
hi SpellBad guibg=#661400
hi Pmenu guibg=#2d3135 guifg=#a0d1d9
hi PmenuSel guibg=#818890
hi PmenuSbar guibg=#121315
let perl_sub_signatures = 1
set modeline
set incsearch
set encoding=utf-8
set splitbelow
set backspace=indent,eol,start
set updatetime=100
set wildmenu
filetype plugin indent on
let mapleader = ' '
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Maintainer:
" Amir Salihefendic
" http://amix.dk - amix@amix.dk
"
" Version:
" 5.0 - 29/05/12 15:43:36
"
" Blog_post:
" http://amix.dk/blog/post/19691#The-ultimate-Vim-configuration-on-Github
@czettnersandor
czettnersandor / i3-cheat-sheet.md
Last active August 14, 2020 07:48 — forked from JeffPaine/i3-cheat-sheet.md
i3 Window Manager Cheat Sheet

i3 Window Manager Cheat Sheet

$mod refers to the modifier key (Super - Win)

General

  • startx i3 start i3 from command line
  • $mod+<Enter> open a terminal
  • $mod+d open rofi (text based program launcher)
  • $mod+r resize mode ( or to leave resize mode)
  • $mod+shift+e exit i3
@Skrip42
Skrip42 / install-vim-8-with-python-ruby-lua-opensuse.sh
Last active October 1, 2020 04:14 — forked from erickpatrick/install-vim-8-with-python-ruby-lua-ubuntu.sh
Install Vim 8 with Python, Python 3, Ruby (2.5) and Lua support on openSuse
# remove current vim
sudo zypper rm vim vim-runtime vim-gnome vim-tiny vim-gui-common
# removes current link for vim
sudo rm -rf /usr/local/share/vim /usr/bin/vim
sudo zypper addrepo https://download.opensuse.org/repositories/home:ochaton/openSUSE_Tumbleweed/home:ochaton.repo
sudo zypper refresh
# installs everything needed to make/configure/build Vim
@areina
areina / apitools_github_oauth.lua
Created April 23, 2014 16:01
Apitools middleware to provide a callback endpoint for github oauth
return function(request, next_middleware)
local CLIENT_ID = "foo"
local CLIENT_SECRET = "bar"
local APP_URL = "http://localhost:9000/#overview"
if request.uri == '/callback' then
local session_code = request.args["code"]
local url = "https://github.com/login/oauth/access_token"
local request_body = {
client_id = CLIENT_ID,
@areina
areina / custom-mu4e-trash-folder.el
Created October 30, 2013 10:54
mu4e - Dynamic trash folder for multiple accounts
(defun custom-mu4e-trash-folder (msg)
(if msg
(cond
((string-match "foo@gmail.com" (mu4e-message-field msg :maildir))
"/foo0@gmail.com/[Gmail].Trash")
((string-match "foo@3scale.net" (mu4e-message-field msg :maildir))
"/foo@3scale.net/[Gmail].Trash"))
(mu4e-ask-maildir-check-exists "Save message to maildir: ")))
(setq mu4e-trash-folder 'custom-mu4e-trash-folder)
@samoshkin
samoshkin / vimrc-merge.vim
Created May 7, 2019 17:02
Test vimrc configuration to turn Vim into a mergetool
set nocompatible
filetype plugin indent on
set tabstop=2 softtabstop=2 shiftwidth=2 expandtab
set number
set hidden
set splitbelow
set splitright