Skip to content

Instantly share code, notes, and snippets.


Andy Shevchenko ur4ltz

View GitHub Profile



Различные способы перехода в режим вставки

i " вставить текст до курсора
View .vimrc
" Maintainer:
" Amir Salihefendic
" -
" Version:
" 5.0 - 29/05/12 15:43:36
" Blog_post:
View gctags
export GTAGSLABEL=ctags
if [ -r $PWD/.globalrc ]; then
elif [ -r $HOME/.globalrc ]; then
elif [ -r /usr/local/share/gtags/gtags.conf ]; then
rcguy /
Last active Apr 26, 2018
Install and setup: new rtorrent user, apache2, php5, XMLRPC, rTorrent, Libtorrent, ruTorrent.Tested on: Ubuntu Server 14.10 x64 / 4 Cores / 4GB RAM / 20 GB SSD / VPS
# Install and setup: new rtorrent user, apache2, XMLRPC, rTorrent, Libtorrent, ruTorrent.
# Tested on: Ubuntu Server 14.10 x64 / 4 Cores / 4GB RAM / 20 GB SSD
# ==> VARIABLES <==
# Software Versions
bonsaiviking / lua.vim
Last active Dec 10, 2018
A Vim indent file for the Lua scripting language. Install as ~/.vim/indent/lua.vim
View lua.vim
" Vim indent file
" Language: Lua
" Maintainer: Daniel Miller <>
" Original Author: Daniel Miller <>
" Last Change: 2014 Feb 6
" Only load this indent file when no other was loaded.
if exists("b:did_indent")
sagax /
Last active Feb 2, 2019
vim article-1

Такого еще не было на данном ресурсе, и надеюсь, что сообщество поддержит инициативу. Есть предложение, сделать живую статью, в которой все мы будем выкладывать клавиатурные сочетания, которые каждый из нас использует в повседневной работе с Vim. Я обязуюсь анализировать комментарии и добавлять в статью новые клавиатурные сочетания. Если клавиатурное сочетание использует какой-то плагин, то указываем его имя.


  • ge - перейти к концу предыдущего слова

Замена текста:

View git-gone
usage() {
cat <<EOF
usage: git gone [-pldD] [<branch>=origin]
-p prune remote branch
-n dry run: list the gone branches
-d delete the gone branches
-D delete the gone branches forcefully
sagax /
Last active May 19, 2019
vim compile snippet
# lua compiling have some problems
# if OS 64 then lib64 in path
./configure --prefix="$HOME/vimp" \
--with-tlib=ncurses \
--with-ruby-command=ruby \
--with-tclsh=/usr/bin/tclsh8.6 \
--with-python3-config-dir=/usr/lib/python3.7/config \
--with-python-config-dir=/usr/lib/python2.7/config \
--with-luajit \
--with-lua-prefix=/usr/include \
ruario /
Last active Jun 16, 2019
Alternative (fake) makepkg to create Slackware packages

These scripts are for people who want an alternative to the official Slackware provided makepkg.

Why would you want that?

  • To be able to create Slackware packages with root-owned files, even when run as a regular user.
  • To be able create Slackware packages on non-Slackware based systems without the need to port Pkgtools and its dependencies (e.g. tar-1.13). Some examples being:
    • Projects (or proprietary software vendors) that want to be able to provide binary Slackware packages, where their build/packaging system is on another distro.
    • People who want to pair a package creation script with spkg to use as a secondary package manger on a non-Slackware based distro. This gives the advantage of simple packaging scripts (.SlackBuilds) for additional, self-compiled software.

Two versions are provided:

morphIsmail / settings.json
Last active Oct 1, 2019
Настройки для VS Code
View settings.json
"git.path": "C:\\Program Files\\Git\\cmd\\git.exe",
"editor.minimap.enabled": true,
"editor.wordWrap": "on",
"editor.tabSize": 3,
"editor.fontFamily": "'Consolas', monospace",
"editor.fontSize": 16,
"editor.mouseWheelZoom": true,
"window.menuBarVisibility": "default",
"workbench.sideBar.location": "left",