Skip to main content

Posts

Showing posts with the label vimrc

Why Must Life Be Difficult?

I often wonder why this life must be so difficult, I don’t quite understand it at times, I mean we’re here right? So that must mean something , but I’m not sure I understand what that something is? If that makes sense. I wish I had a clue what to do about it. I mean, come on, there’s got to be a way to get through this life without us constantly going to war with each other. Whatever the problem is in life, we have got to find out a way to get past it. It’s got to be made manifest in some shape or form. I do not understand why this life has to be the way it is, it feels so different than anything else in this universe, at least to me it does. Maybe I’m not making much sense, but I do know this. If we don’t grasp life and understand it, we will be left with nothing. Do we want to be left with nothing? I’m not sure we do. If we are left with nothing, what’s the purpose of this life? I’n not sure I can justify an answer for that. It would be nice to be able to figure out something in th...

Added some bindings to my vimrc

So, I added the following to my vimrc: " Change Leader Key to a comma, that '\' is so hard to reach let mapleader = "," " Set the maximum width of text to 80 characters set textwidth=80 " Optional visual indicator for the 80th column set colorcolumn=80 " Show line numbers set number " File type detection, plugins, and smart indentation filetype plugin indent on " formatoptions settings: " t: Auto-wrap text using textwidth " c: Auto-wrap comments using textwidth " q: Allow formatting of comments with "gq" set formatoptions+=tcq " Tabs and Spaces Setup set expandtab " Use spaces instead of tabs set tabstop=4 " Number of spaces that a tab counts for set shiftwidth=4 " Number of spaces to use for each step of autoindent set softtabstop=4 " Number of spaces that a tab counts for while editing " Enable syntax highlighting syntax enable " Always show the status lin...

Latest VIMRC Setup

So, here’s my latest .vimrc file. So far I like it. The statusline is very helpful in letting me know certain things about the file. Like what kid of file it is, character position, where I’m at in the file, and the word count, it’s useful: " Set the maximum width of text to 80 characters set textwidth=80 " Optional: visual indicator for the 80th column set colorcolumn=80 set number " formatoptions settings: " t: Auto-wrap text using textwidth " c: Auto-wrap comments using textwidth " q: Allow formatting of comments with "gq" set formatoptions+=tcq set expandtab " Use spaces instead of tabs set tabstop=4 " Number of spaces that a tab counts for set shiftwidth=4 " Number of spaces to use for each step of (auto)indent set softtabstop=4 " Number of spaces that a tab counts for while performing editing operations syntax enable " Always show the status line set laststatus=2 " Define the format (File pa...