Tweaking
Table of contents
Network speed tweak on FreeBSD
These values must be applied with care. Both your system's total RAM and NIC drivers play a role here.
Rather start with smaller values and build upwards than sitting remote and set values too high = box dies and reboot, or even worse - box goes offline but doesn't reboot. (been there done that!)
#!/bin/bash sysctl -w kern.ipc.maxsockbuf=1048576 sysctl -w net.inet.tcp.recvspace=262144 sysctl -w net.inet.tcp.sendspace=262144 sysctl -w net.inet.tcp.delayed_ack=0 sysctl -w net.inet.tcp.newreno=0 sysctl -w net.inet.ip.intr_queue_maxlen=200 sysctl -w net.inet.udp.recvspace=73728
PS: These values are taken from a 3.0 GHz system with 1024 MB RAM.
Enable mouse support in vim running in screen
Basically, just put this in your .vimrcset mouse=a
If this is not enough, some people have succeeded with adding
set ttymouse=xterm2
- + : A leading plus sign indicates that this word must be present in every object returned.
- - : A leading minus sign indicates that this word must not be present in any row returned.
- By default (when neither plus nor minus is specified) the word is optional, but the object that contain it will be rated higher.
- < > : These two operators are used to change a word's contribution to the relevance value that is assigned to a row.
- ( ) : Parentheses are used to group words into subexpressions.
- ~ : A leading tilde acts as a negation operator, causing the word's contribution to the object relevance to be negative. It's useful for marking noise words. An object that contains such a word will be rated lower than others, but will not be excluded altogether, as it would be with the - operator.
- * : An asterisk is the truncation operator. Unlike the other operators, it should be appended to the word, not prepended.
- " : The phrase, that is enclosed in double quotes ", matches only objects that contain this phrase literally, as it was typed.
