Skip to content

Instantly share code, notes, and snippets.

View dnavas77's full-sized avatar

dnavas77 dnavas77

View GitHub Profile
"------------- Vundle and Plugins ------------
set nocompatible
filetype off
syntax off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
Plugin 'tpope/vim-fugitive'
# https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard
set-option -g default-command "reattach-to-user-namespace -l zsh"
# Initial setup
set -g default-terminal xterm-256color
set -g status-keys vi
# Set Prefix
set-option -g prefix C-j
unbind-key C-j
/* ~~~~~~~~~~ USER PREFERENCES ~~~~~~~~~~~~ */
{
"color_scheme": "Packages/Color Scheme - Default/Mariana.tmTheme",
"font_face": "Menlo",
"font_size": 13,
"tab_size": 2,
"ignored_packages":
[
],
"theme": "Default.sublime-theme",
@dnavas77
dnavas77 / NeoVim Config Mac
Last active April 2, 2021 03:53
Neovim Config Mac
filetype off
syntax off
"~~~~~~~~~ Skip initialization for vim-tiny or vim-small.
if 0 | endif
if &compatible
set nocompatible
endif
Vim Keybindings
--------------------------
'atom-text-editor.vim-mode:not(.insert-mode)':
'ctrl-h': 'pane:show-previous-item'
'ctrl-j': 'window:focus-pane-below'
'ctrl-k': 'window:focus-pane-above'
'ctrl-l': 'pane:show-next-item'
'ctrl-w w': 'core:close'
'space space': 'core:save'
"------------- Vundle and Plugins ------------
set nocompatible
filetype off
syntax off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'tpope/vim-fugitive'
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
# Path to your oh-my-zsh installation.
export ZSH=/Users/dnavas/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="avit"
plugins=(git)
@dnavas77
dnavas77 / init.ubuntu.vim
Last active January 21, 2018 23:21
Working settings for Neovim on Ubuntu
filetype off
syntax off
"~~~~~~~~~ Skip initialization for vim-tiny or vim-small.
if 0 | endif
if &compatible
set nocompatible
endif
" path: home\appdata\local\nvim\ginit.vim
filetype off
syntax off
if &compatible
set nocompatible
endif
" Add the dein installation directory into runtimepath
set runtimepath+=~/.cache/dein/repos/github.com/Shougo/dein.vim