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
# | |
# This subclass of Hash is designed to search for the values associated | |
# with the two nearest Numeric keys to a given "key" argument *not* | |
# a member of the FindNeighborsHash, or the *single* value associated with | |
# an *existing* key. | |
# | |
class FindNeighborsHash < Hash | |
def []=(key, val) | |
raise ArgumentE |
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
filetype indent on " automatically indent | |
set expandtab " tabs are spaces | |
set shiftwidth=2 " two space indent | |
set tabstop=2 | |
set ruler " display line number and position | |
"This unsets the "last search pattern" register by hitting return | |
nnoremap <CR> :noh<CR><CR> |