$mod
refers to the modifier key (Super - Win)
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
local function executeCommand(command) | |
local output = nil | |
local p = io.popen(command .. ' 2>nul') | |
if (p ~= nil) then | |
output = p:read('*all') | |
end | |
p.close() | |
return output | |
end |
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 |
" 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 |
# 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 |
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, |
(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) |
set nocompatible | |
filetype plugin indent on | |
set tabstop=2 softtabstop=2 shiftwidth=2 expandtab | |
set number | |
set hidden | |
set splitbelow | |
set splitright |