vim relative and absolute line numbers code example Example: vim relative numbers :set relativenumber