This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" SETUP | |
" Copy this file into /etc/vim/ | |
" Set the correct mode `chmod 0644 /etc/vim/vim.ytturi` | |
" Edit main config file (`vim /etc/vim/vimrc`) and add this line: | |
" source /etc/vim/vimrc.ytturi | |
" Mouse mode == command line | |
set mouse=c | |
" Press <F2> to toggle pastemode | |
set pastetoggle=<F2> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# ------------------------------------------------------ | |
# Author: Ytturi | |
# Author's e-mail: ytturi@protonmail.com | |
# Original Gist: https://gist.github.com/ytturi/0c23ad5ab89154d24c340c2b1cc3432b | |
# Version: 0.1 | |
# License: MIT | |
# ------------------------------------------------------ | |
# This script allows the user to run the default program | |
# to open a file for it's given type or extension. |